Class CanonEqFlagInRegexCheck

All Implemented Interfaces:
RegexCheck, JavaCheck, JavaFileScanner

public class CanonEqFlagInRegexCheck extends AbstractRegexCheck
  • Field Details

    • STRING_MATCHES

      protected static final MethodMatchers STRING_MATCHES
    • STRING_REPLACE_ALL

      protected static final MethodMatchers STRING_REPLACE_ALL
    • STRING_REPLACE_FIRST

      protected static final MethodMatchers STRING_REPLACE_FIRST
    • PATTERN_MATCHES

      protected static final MethodMatchers PATTERN_MATCHES
  • Constructor Details

    • CanonEqFlagInRegexCheck

      public CanonEqFlagInRegexCheck()
  • Method Details

    • checkRegex

      public void checkRegex(org.sonarsource.analyzer.commons.regex.RegexParseResult regexForLiterals, ExpressionTree methodInvocationOrAnnotation)
      Specified by:
      checkRegex in class AbstractRegexCheck