Context
Functions
Link copied to clipboard
Clears previous findings. Normally this is done on every new KtFile analyzed and should be called by clients.
Link copied to clipboard
open fun report( finding: Finding, aliases: Set<String> = emptySet(), ruleSetId: RuleSetId? = null)
Content copied to clipboard
Reports a single new violation. By contract the implementation can check if this finding is already suppressed and should not get reported. An alias set can be given to additionally check if an alias was used when suppressing. Additionally suppression by rule set id is supported.