JvmFileCache

class JvmFileCache @Inject constructor(source)

Note that there is also a Psi file cache inside the KotlinEnvironment. This cache of JvmFile just provides the next layer, in order to have caching for parsed declarations, references, and whatnot.

The Psi file cache re-uses Psi files because they have internal caching used internally by the compilation object.

Since

0.12.0

Constructors

Link copied to clipboard
@Inject
constructor()

Properties

Link copied to clipboard

Functions

Link copied to clipboard
suspend fun getOrPut(file: File, default: suspend () -> JvmFile): JvmFile