Class AvoidDuplicateLiteralsRule

  • All Implemented Interfaces:
    JavaParserVisitor, net.sourceforge.pmd.lang.rule.ImmutableLanguage, net.sourceforge.pmd.properties.PropertySource, net.sourceforge.pmd.Rule

    public class AvoidDuplicateLiteralsRule
    extends AbstractJavaRule
    • Field Detail

      • THRESHOLD_DESCRIPTOR

        public static final net.sourceforge.pmd.properties.PropertyDescriptor<java.lang.Integer> THRESHOLD_DESCRIPTOR
      • MINIMUM_LENGTH_DESCRIPTOR

        public static final net.sourceforge.pmd.properties.PropertyDescriptor<java.lang.Integer> MINIMUM_LENGTH_DESCRIPTOR
      • SKIP_ANNOTATIONS_DESCRIPTOR

        public static final net.sourceforge.pmd.properties.PropertyDescriptor<java.lang.Boolean> SKIP_ANNOTATIONS_DESCRIPTOR
      • EXCEPTION_LIST_DESCRIPTOR

        public static final net.sourceforge.pmd.properties.StringProperty EXCEPTION_LIST_DESCRIPTOR
      • SEPARATOR_DESCRIPTOR

        public static final net.sourceforge.pmd.properties.CharacterProperty SEPARATOR_DESCRIPTOR
      • EXCEPTION_FILE_DESCRIPTOR

        @Deprecated
        public static final net.sourceforge.pmd.properties.FileProperty EXCEPTION_FILE_DESCRIPTOR
        Deprecated.
    • Constructor Detail

      • AvoidDuplicateLiteralsRule

        public AvoidDuplicateLiteralsRule()
    • Method Detail

      • dysfunctionReason

        public java.lang.String dysfunctionReason()
        Specified by:
        dysfunctionReason in interface net.sourceforge.pmd.properties.PropertySource
        Overrides:
        dysfunctionReason in class net.sourceforge.pmd.properties.AbstractPropertySource
        See Also:
        PropertySource.dysfunctionReason()