load

fun load(classLoader: ClassLoader = DetektProvider::class.java.classLoader): DetektProvider

Looks for a provider on the classpath which is able to load Detekt instances.