detekt-api
1.21.0-RC2

# onFinish

open fun onFinish (files: List <KtFile>, result: Detektion )
Content copied to clipboard
open fun onFinish ( files: List <KtFile>, result: Detektion , bindingContext: BindingContext)
Content copied to clipboard

Mainly use this method to save computed metrics from KtFile's to the {@link Detektion} container. Do not do heavy computations here as this method is called from the main thread.

This method is called before any ReportingExtension.