Detekt

interface Detekt

Instance of detekt.

Runs analysis based on io.github.detekt.tooling.api.spec.ProcessingSpec configuration.

Functions

Link copied to clipboard
abstract fun run(): AnalysisResult
abstract fun run(path: Path): AnalysisResult
abstract fun run(sourceCode: String, filename: String): AnalysisResult
abstract fun run(files: Collection<KtFile>, bindingContext: BindingContext): AnalysisResult