createViolation

fun Rule.createViolation(lineNumber: Int, sourceLine: String, message: String): Violation

Alias of AbstractRule.createViolation that is not protected.