langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
equal
deleted
inserted
replaced
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); |