diff --git a/detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/KtCompiler.kt b/detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/KtCompiler.kt index 5c393ef8b..37141dd19 100644 --- a/detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/KtCompiler.kt +++ b/detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/KtCompiler.kt @@ -35,9 +35,4 @@ open class KtCompiler(val project: Path) { content, true, true, false, LightVirtualFile(relativePath.toString())) as KtFile } - @Unstable(removedIn = "M4") - fun compileFromText(content: String): KtFile { - return psiFileFactory.createFileFromText(KotlinLanguage.INSTANCE, content) as KtFile - } - } \ No newline at end of file