Class PMD


  • public final class PMD
    extends Object
    Constants related to PMD validation rules. These don't actually work in the SuppressWarnings annotation, but they can still be used to give an indication of what the // NOPMD comment is instructing PMD to ignore.
    • Field Detail

      • AVOID_REASSIGNING_LOOP_VARIABLES

        public static final String AVOID_REASSIGNING_LOOP_VARIABLES
        Cf. https://pmd.github.io/latest/pmd_rules_java_bestpractices.html#avoidreassigningloopvariables
        See Also:
        Constant Field Values
      • ABSTRACT_CLASS_WITHOUT_ABSTRACT_METHOD

        public static final String ABSTRACT_CLASS_WITHOUT_ABSTRACT_METHOD
        Cf. https://pmd.github.io/latest/pmd_rules_java_bestpractices.html#abstractclasswithoutabstractmethod
        See Also:
        Constant Field Values
      • AVOID_DEEPLY_NESTED_IF_STMTS

        public static final String AVOID_DEEPLY_NESTED_IF_STMTS
        Cf. https://pmd.github.io/latest/pmd_rules_java_design.html#avoiddeeplynestedifstmts
        See Also:
        Constant Field Values
      • CLASS_NAMING_CONVENTIONS

        public static final String CLASS_NAMING_CONVENTIONS
        Cf. https://pmd.github.io/latest/pmd_rules_java_codestyle.html#classnamingconventions
        See Also:
        Constant Field Values
      • CYCLOMATIC_COMPLEXITY

        public static final String CYCLOMATIC_COMPLEXITY
        Cf. https://pmd.github.io/latest/pmd_rules_java_design.html#cyclomaticcomplexity
        See Also:
        Constant Field Values
      • EXCESSIVE_IMPORTS

        public static final String EXCESSIVE_IMPORTS
        Cf. https://pmd.github.io/latest/pmd_rules_java_design.html#excessiveimports
        See Also:
        Constant Field Values
      • EXCESSIVE_PUBLIC_COUNT

        public static final String EXCESSIVE_PUBLIC_COUNT
        Cf. https://pmd.github.io/latest/pmd_rules_java_design.html#excessivepubliccount
        See Also:
        Constant Field Values
      • GOD_CLASS

        public static final String GOD_CLASS
        Cf. https://pmd.github.io/latest/pmd_rules_java_design.html#godclass
        See Also:
        Constant Field Values
      • LONG_VARIABLE

        public static final String LONG_VARIABLE
        Cf. https://pmd.github.io/latest/pmd_rules_java_codestyle.html#longvariable
        See Also:
        Constant Field Values
      • MISSING_OVERRIDE

        public static final String MISSING_OVERRIDE
        Cf. https://pmd.github.io/latest/pmd_rules_java_bestpractices.html#missingoverride
        See Also:
        Constant Field Values
      • N_PATH_COMPLEXITY

        public static final String N_PATH_COMPLEXITY
        Cf. https://pmd.github.io/latest/pmd_rules_java_design.html#npathcomplexity
        See Also:
        Constant Field Values
      • NULL_ASSIGNMENT

        public static final String NULL_ASSIGNMENT
        Cf. https://pmd.github.io/latest/pmd_rules_java_errorprone.html#nullassignment
        See Also:
        Constant Field Values
      • PRESERVE_STACK_TRACE

        public static final String PRESERVE_STACK_TRACE
        Cf. https://pmd.github.io/latest/pmd_rules_java_bestpractices.html#preservestacktrace
        See Also:
        Constant Field Values
      • TOO_MANY_METHODS

        public static final String TOO_MANY_METHODS
        Cf. https://pmd.github.io/latest/pmd_rules_java_design.html#toomanymethods
        See Also:
        Constant Field Values
      • UNUSED_FORMAL_PARAMETER

        public static final String UNUSED_FORMAL_PARAMETER
        Cf. https://pmd.github.io/latest/pmd_rules_java_bestpractices.html#unusedformalparameter
        See Also:
        Constant Field Values
      • UNUSED_PRIVATE_METHOD

        public static final String UNUSED_PRIVATE_METHOD
        Cf. https://pmd.github.io/latest/pmd_rules_java_bestpractices.html#unusedprivatemethod
        See Also:
        Constant Field Values