Package-level declarations
Types
Link copied to clipboard
object KotlinAnalysisApiEngine
The object to use the Kotlin Analysis API for code compilation.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
fun compileContentForTest(content: String, environment: KotlinEnvironmentContainer, filename: String = "Test.kt"): KtFile
Use this method if you define a kt file/class as a plain string in your test.
Link copied to clipboard
Use this method if you test a kt file/class in the test resources.
Link copied to clipboard
fun createEnvironment(additionalRootPaths: List<File> = emptyList(), additionalJavaSourceRootPaths: List<File> = emptyList()): KotlinEnvironmentContainer
Create a {@link KotlinEnvironmentContainer} used for test.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard