detekt
Toggle table of contents
1.23.8
jvm
Platform filter
jvm
Switch theme
Search in API
detekt
detekt-test-utils
/
io.github.detekt.test.utils
/
KotlinAnalysisApiEngine
/
compile
compile
fun
compile
(
code
:
String
,
dependencyCodes
:
List
<
String
>
=
emptyList()
)
:
KtFile
Compiles a given code string using Kotlin's Analysis API.
Throws
Illegal
State
Exception
if the given code snippet does not compile