Class ParametricRuleViolation<T extends Node>

    • Field Detail

      • rule

        protected final Rule rule
        Deprecated.
      • description

        protected final String description
        Deprecated.
      • suppressed

        protected boolean suppressed
        Deprecated.
      • filename

        protected String filename
        Deprecated.
      • beginLine

        protected int beginLine
        Deprecated.
      • beginColumn

        protected int beginColumn
        Deprecated.
      • endLine

        protected int endLine
        Deprecated.
      • endColumn

        protected int endColumn
        Deprecated.
      • packageName

        protected String packageName
        Deprecated.
      • className

        protected String className
        Deprecated.
      • methodName

        protected String methodName
        Deprecated.
      • variableName

        protected String variableName
        Deprecated.
    • Constructor Detail

      • ParametricRuleViolation

        public ParametricRuleViolation​(Rule theRule,
                                       RuleContext ctx,
                                       T node,
                                       String message)
        Deprecated.
    • Method Detail

      • expandVariables

        protected String expandVariables​(String message)
        Deprecated.
      • isVariable

        protected boolean isVariable​(String name)
        Deprecated.
      • getVariableValue

        protected String getVariableValue​(String name)
        Deprecated.
      • getRule

        public Rule getRule()
        Deprecated.
        Description copied from interface: RuleViolation
        Get the Rule which identified this violation.
        Specified by:
        getRule in interface RuleViolation
        Returns:
        The identifying Rule.
      • getDescription

        public String getDescription()
        Deprecated.
        Description copied from interface: RuleViolation
        Get the description of this violation.
        Specified by:
        getDescription in interface RuleViolation
        Returns:
        The description.
      • isSuppressed

        public boolean isSuppressed()
        Deprecated.
        Description copied from interface: RuleViolation
        Indicates whether this violation has been suppressed.
        Specified by:
        isSuppressed in interface RuleViolation
        Returns:
        true if this violation is suppressed, false otherwise.
      • getFilename

        public String getFilename()
        Deprecated.
        Description copied from interface: RuleViolation
        Get the source file name in which this violation was identified.
        Specified by:
        getFilename in interface RuleViolation
        Returns:
        The source file name.
      • getBeginLine

        public int getBeginLine()
        Deprecated.
        Description copied from interface: RuleViolation
        Get the begin line number in the source file in which this violation was identified.
        Specified by:
        getBeginLine in interface RuleViolation
        Returns:
        Begin line number.
      • getBeginColumn

        public int getBeginColumn()
        Deprecated.
        Description copied from interface: RuleViolation
        Get the column number of the begin line in the source file in which this violation was identified.
        Specified by:
        getBeginColumn in interface RuleViolation
        Returns:
        Begin column number.
      • getEndLine

        public int getEndLine()
        Deprecated.
        Description copied from interface: RuleViolation
        Get the end line number in the source file in which this violation was identified.
        Specified by:
        getEndLine in interface RuleViolation
        Returns:
        End line number.
      • getEndColumn

        public int getEndColumn()
        Deprecated.
        Description copied from interface: RuleViolation
        Get the column number of the end line in the source file in which this violation was identified.
        Specified by:
        getEndColumn in interface RuleViolation
        Returns:
        End column number.
      • getPackageName

        public String getPackageName()
        Deprecated.
        Description copied from interface: RuleViolation
        Get the package name of the Class in which this violation was identified.
        Specified by:
        getPackageName in interface RuleViolation
        Returns:
        The package name.
      • getClassName

        public String getClassName()
        Deprecated.
        Description copied from interface: RuleViolation
        Get the name of the Class in which this violation was identified.
        Specified by:
        getClassName in interface RuleViolation
        Returns:
        The Class name.
      • getMethodName

        public String getMethodName()
        Deprecated.
        Description copied from interface: RuleViolation
        Get the method name in which this violation was identified.
        Specified by:
        getMethodName in interface RuleViolation
        Returns:
        The method name.
      • getVariableName

        public String getVariableName()
        Deprecated.
        Description copied from interface: RuleViolation
        Get the variable name on which this violation was identified.
        Specified by:
        getVariableName in interface RuleViolation
        Returns:
        The variable name.
      • setLines

        public void setLines​(int theBeginLine,
                             int theEndLine)
        Deprecated.