report

open fun report(    finding: Finding,     aliases: Set<String> = emptySet(),     ruleSetId: RuleSetId? = null)

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.


open fun report(    findings: List<Finding>,     aliases: Set<String> = emptySet(),     ruleSetId: RuleSetId? = null)

Same as report but reports a list of findings.