langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
changeset 39365 79f4425ad27c
parent 38918 bf1ed1a40f5b
child 39372 a42db8c180c3
equal deleted inserted replaced
39364:bd6d4a7936b4 39365:79f4425ad27c
  1603 
  1603 
  1604     public static final Pattern noMatches  = Pattern.compile("(\\P{all})+");
  1604     public static final Pattern noMatches  = Pattern.compile("(\\P{all})+");
  1605 
  1605 
  1606     /**
  1606     /**
  1607      * Convert import-style string for supported annotations into a
  1607      * Convert import-style string for supported annotations into a
  1608      * regex matching that string.  If the string is a valid
  1608      * regex matching that string.  If the string is not a valid
  1609      * import-style string, return a regex that won't match anything.
  1609      * import-style string, return a regex that won't match anything.
  1610      */
  1610      */
  1611     private static Pattern importStringToPattern(String s, Processor p, Log log) {
  1611     private static Pattern importStringToPattern(String s, Processor p, Log log) {
  1612         if (MatchingUtils.isValidImportString(s)) {
  1612         if (MatchingUtils.isValidImportString(s)) {
  1613             return MatchingUtils.validImportStringToPattern(s);
  1613             return MatchingUtils.validImportStringToPattern(s);