Class CachedRuleViolation

    • Method Detail

      • 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.