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.
Modifier and Type | Class and Description |
---|---|
pack-priv static class |
Modifier and Type | Field and Description |
---|---|
public static final Comparator | |
private static final Set | |
private static final String[] |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
pack-priv static Path | |
public PlatformDescription | getPlatform(String
the name of the selected platform platformName, String additional parameter, which can be specified after ':' on the command line options)Implements com. |
public Iterable | getSupportedPlatformNames()
Implements com. |
private static String |
NUMERICAL_COMPARATOR | back to summary |
---|---|
public static final Comparator<String> NUMERICAL_COMPARATOR |
SUPPORTED_JAVA_PLATFORM_VERSIONS | back to summary |
---|---|
private static final Set<String> SUPPORTED_JAVA_PLATFORM_VERSIONS |
symbolFileLocation | back to summary |
---|---|
private static final String[] symbolFileLocation |
JDKPlatformProvider | back to summary |
---|---|
public JDKPlatformProvider() |
findCtSym | back to summary |
---|---|
pack-priv static Path findCtSym() |
getPlatform | back to summary |
---|---|
public PlatformDescription getPlatform(String platformName, String options) Implements com. Doc from com. Create a description of a selected platform.
|
getSupportedPlatformNames | back to summary |
---|---|
public Iterable Implements com. Doc from com. Names of platforms supported by this provider. Each returned name can be used as the key for --release. |
targetNumericVersion | back to summary |
---|---|
private static String targetNumericVersion(Target target) |
Modifier and Type | Class and Description |
---|---|
private static class |
Modifier and Type | Field and Description |
---|---|
private final Map | |
private final String | |
private final String |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public void | close()
Implements com. |
public List | getAdditionalOptions()
Implements com. |
public List | getAnnotationProcessors()
Implements com. |
public JavaFileManager | |
public List | getPlugins()
Implements com. |
public String | getSourceVersion()
Implements com. |
public String | getTargetVersion()
Implements com. |
ctSym2FileSystem | back to summary |
---|---|
private final Map<Path, FileSystem> ctSym2FileSystem |
ctSymVersion | back to summary |
---|---|
private final String ctSymVersion |
sourceVersion | back to summary |
---|---|
private final String sourceVersion |
PlatformDescriptionImpl | back to summary |
---|---|
pack-priv PlatformDescriptionImpl(String sourceVersion) |
close | back to summary |
---|---|
public void close() throws IOException Implements com. Doc from com. Perform cleanup for this PlatformProvider - this instance won't be used after this method is called.
|
getAdditionalOptions | back to summary |
---|---|
public List Implements com. Doc from com. Returns the additional command line options that should be passed to javac. |
getAnnotationProcessors | back to summary |
---|---|
public List Implements com. Doc from com. Returns the annotation Processors that should be enabled in the current javac run.
|
getFileManager | back to summary |
---|---|
public JavaFileManager getFileManager() Implements com.
|
getPlugins | back to summary |
---|---|
public List Implements com. Doc from com. Returns the javac Plugins that should be enabled in the current javac run.
|
getSourceVersion | back to summary |
---|---|
public String getSourceVersion() Implements com. Doc from com. Returns the source version that should be selected.
Equivalent to |
getTargetVersion | back to summary |
---|---|
public String getTargetVersion() Implements com. Doc from com. Returns the target version that should be selected.
Equivalent to |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public JavaFileObject | |
public JavaFileObject. | getKind()
Overrides javax. Implements javax. |
public boolean | isNameCompatible(String
a simple name of a class simpleName, JavaFileObject.a kind kindOverrides javax. Implements javax. |
SigJavaFileObject | back to summary |
---|---|
public SigJavaFileObject(JavaFileObject fileObject) |
getDelegate | back to summary |
---|---|
public JavaFileObject getDelegate() |
getKind | back to summary |
---|---|
public JavaFileObject. Overrides javax. Implements javax. Doc from javax. Returns the kind of this file object.
|
isNameCompatible | back to summary |
---|---|
public boolean isNameCompatible(String simpleName, JavaFileObject. Overrides javax. Implements javax. Doc from javax. Checks if this file object is compatible with the specified simple name and kind. A simple name is a single identifier (not qualified) as defined in The Java Language Specification, section 6.2.
|