APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.tools.javac.util

public Class MatchingUtils

extends Object
Class Inheritance
Imports
java.util.regex.Pattern, javax.lang.model.SourceVersion

Utilities to convert an import-like string to a regexp.

This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.

Field Summary

Modifier and TypeField and Description
private static final Pattern
private static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static boolean
isValidImportString(String s)

Return true if the argument string is a valid import-style string specifying claimed annotations; return false otherwise.

public static Pattern
public static String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

allMatchesback to summary
private static final Pattern allMatches
allMatchesStringback to summary
private static final String allMatchesString

Constructor Detail

MatchingUtilsback to summary
public MatchingUtils()

Method Detail

isValidImportStringback to summary
public static boolean isValidImportString(String s)

Return true if the argument string is a valid import-style string specifying claimed annotations; return false otherwise.

validImportStringToPatternback to summary
public static Pattern validImportStringToPattern(String s)
validImportStringToPatternStringback to summary
public static String validImportStringToPatternString(String s)