Class GenericLiteralCheckerRule

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

    public class GenericLiteralCheckerRule
    extends AbstractJavaRule
    This class allow to match a Literal (most likely a String) with a regex pattern. Obviously, there are many applications of it (such as basic.xml/AvoidUsingHardCodedIP).
    Author:
    Romain PELISSE, [email protected]
    • Constructor Detail

      • GenericLiteralCheckerRule

        public GenericLiteralCheckerRule()