Class GenericLiteralCheckerRule

  • All Implemented Interfaces:
    JavaParserVisitor, ImmutableLanguage, PropertySource, 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, belaran@gmail.com
    • Constructor Detail

      • GenericLiteralCheckerRule

        public GenericLiteralCheckerRule()