public final class CommonModuleUtils extends Object
Modifier and Type | Field and Description |
---|---|
static SpecificationVersion |
JDK9
Java 9 specification version.
|
Modifier and Type | Method and Description |
---|---|
static Set<String> |
getAddModules(CompilerOptionsQuery.Result res) |
static Map<String,List<URL>> |
getPatches(CompilerOptionsQuery.Result res) |
static String |
getXModule(CompilerOptionsQuery.Result res) |
static Collection<? extends String> |
parseSourcePathVariants(String pathEntry)
Evaluates the module source path element to all variants.
|
public static final SpecificationVersion JDK9
@NonNull public static Set<String> getAddModules(@NonNull CompilerOptionsQuery.Result res)
@CheckForNull public static String getXModule(@NonNull CompilerOptionsQuery.Result res)
@NonNull public static Map<String,List<URL>> getPatches(@NonNull CompilerOptionsQuery.Result res)
@NonNull public static Collection<? extends String> parseSourcePathVariants(@NonNull String pathEntry)
pathEntry
- the module source path entry