Class JavaRuleViolation

  • All Implemented Interfaces:
    RuleViolation

    @Deprecated
    public class JavaRuleViolation
    extends ParametricRuleViolation<JavaNode>
    Deprecated.
    This is a Java RuleViolation. It knows how to try to extract the following extra information from the violation node:
    • Package name
    • Class name
    • Method name
    • Variable name
    • Suppression indicator
    • Constructor Detail

      • JavaRuleViolation

        public JavaRuleViolation​(Rule rule,
                                 @NonNull JavaNode node,
                                 String filename,
                                 String message)
        Deprecated.