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 | Field and Description |
---|---|
public static final Target | |
public static final Target | |
public static final Target | JDK1_10
JDK 10. |
public static final Target | JDK1_11
JDK 11. |
public static final Target | JDK1_12
JDK 12. |
public static final Target | JDK1_13
JDK 13. |
public static final Target | JDK1_14
JDK 14. |
public static final Target | JDK1_15
JDK 15. |
public static final Target | JDK1_16
JDK 16. |
public static final Target | JDK1_17
JDK 17. |
public static final Target | JDK1_18
JDK 18. |
public static final Target | JDK1_19
JDK 19. |
public static final Target | |
public static final Target | JDK1_20
JDK 20. |
public static final Target | JDK1_21
JDK 21. |
public static final Target | JDK1_22
JDK 22. |
public static final Target | |
public static final Target | JDK1_4
J2SE1.4 = Merlin. |
public static final Target | JDK1_5
JDK 5, codename Tiger. |
public static final Target | JDK1_6
JDK 6. |
public static final Target | JDK1_7
JDK 7. |
public static final Target | JDK1_8
JDK 8. |
public static final Target | JDK1_9
JDK 9. |
public final int | |
private static final Target | |
public static final Target | |
public final int | |
public final String | name
Hides java. |
private static final Map | |
private static final Context. |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public boolean | allApiModulesAreRoots()
All modules that export an API are roots when compiling code in the unnamed module and targeting 11 or newer. |
public boolean | |
public boolean | |
public boolean | |
public boolean | |
public boolean | |
public static Target | |
public boolean | |
public static Target | |
public String | |
public boolean | |
public boolean | optimizeOuterThis()
Omit unused enclosing instance fields from inner classes that don't access enclosing instance state. |
public boolean | |
public char | syntheticNameChar()
Return the character to be used in constructing synthetic identifiers, where not specified by the JLS. |
public static Target | |
public static Target[] |
DEFAULT | back to summary |
---|---|
public static final Target DEFAULT |
JDK1_1 | back to summary |
---|---|
public static final Target JDK1_1 |
JDK1_10 | back to summary |
---|---|
public static final Target JDK1_10 JDK 10. |
JDK1_11 | back to summary |
---|---|
public static final Target JDK1_11 JDK 11. |
JDK1_12 | back to summary |
---|---|
public static final Target JDK1_12 JDK 12. |
JDK1_13 | back to summary |
---|---|
public static final Target JDK1_13 JDK 13. |
JDK1_14 | back to summary |
---|---|
public static final Target JDK1_14 JDK 14. |
JDK1_15 | back to summary |
---|---|
public static final Target JDK1_15 JDK 15. |
JDK1_16 | back to summary |
---|---|
public static final Target JDK1_16 JDK 16. |
JDK1_17 | back to summary |
---|---|
public static final Target JDK1_17 JDK 17. |
JDK1_18 | back to summary |
---|---|
public static final Target JDK1_18 JDK 18. |
JDK1_19 | back to summary |
---|---|
public static final Target JDK1_19 JDK 19. |
JDK1_2 | back to summary |
---|---|
public static final Target JDK1_2 |
JDK1_20 | back to summary |
---|---|
public static final Target JDK1_20 JDK 20. |
JDK1_21 | back to summary |
---|---|
public static final Target JDK1_21 JDK 21. |
JDK1_22 | back to summary |
---|---|
public static final Target JDK1_22 JDK 22. |
JDK1_3 | back to summary |
---|---|
public static final Target JDK1_3 |
JDK1_4 | back to summary |
---|---|
public static final Target JDK1_4 J2SE1.4 = Merlin. |
JDK1_5 | back to summary |
---|---|
public static final Target JDK1_5 JDK 5, codename Tiger. |
JDK1_6 | back to summary |
---|---|
public static final Target JDK1_6 JDK 6. |
JDK1_7 | back to summary |
---|---|
public static final Target JDK1_7 JDK 7. |
JDK1_8 | back to summary |
---|---|
public static final Target JDK1_8 JDK 8. |
JDK1_9 | back to summary |
---|---|
public static final Target JDK1_9 JDK 9. |
majorVersion | back to summary |
---|---|
public final int majorVersion |
MAX | back to summary |
---|---|
private static final Target MAX |
MIN | back to summary |
---|---|
public static final Target MIN |
minorVersion | back to summary |
---|---|
public final int minorVersion |
name | back to summary |
---|---|
public final String name Hides java. |
tab | back to summary |
---|---|
private static final Map<String, Target> tab |
targetKey | back to summary |
---|---|
private static final Context. |
Target | back to summary |
---|---|
private Target(String name, int majorVersion, int minorVersion) |
allApiModulesAreRoots | back to summary |
---|---|
public boolean allApiModulesAreRoots() All modules that export an API are roots when compiling code in the unnamed module and targeting 11 or newer. |
hasMethodParameters | back to summary |
---|---|
public boolean hasMethodParameters() Does the target VM expect MethodParameters attributes? |
hasNestmateAccess | back to summary |
---|---|
public boolean hasNestmateAccess() Does the target VM support nestmate access? |
hasSealedClasses | back to summary |
---|---|
public boolean hasSealedClasses() Does the target VM support sealed types |
hasStringConcatFactory | back to summary |
---|---|
public boolean hasStringConcatFactory() Does the target JDK contain StringConcatFactory class? |
hasVirtualPrivateInvoke | back to summary |
---|---|
public boolean hasVirtualPrivateInvoke() Does the target VM support virtual private invocations? |
instance | back to summary |
---|---|
public static Target instance(Context context) |
isSupported | back to summary |
---|---|
public boolean isSupported() |
lookup | back to summary |
---|---|
public static Target lookup(String name) |
multiReleaseValue | back to summary |
---|---|
public String multiReleaseValue() Value of platform release used to access multi-release jar files |
obsoleteAccStrict | back to summary |
---|---|
public boolean obsoleteAccStrict() Is the ACC_STRICT bit redundant and obsolete |
optimizeOuterThis | back to summary |
---|---|
public boolean optimizeOuterThis() Omit unused enclosing instance fields from inner classes that don't access enclosing instance state. |
runtimeUseNestAccess | back to summary |
---|---|
public boolean runtimeUseNestAccess() language runtime uses nest-based access. e.g. lambda and string concat spin dynamic proxy class as a nestmate of the target class |
syntheticNameChar | back to summary |
---|---|
public char syntheticNameChar() Return the character to be used in constructing synthetic identifiers, where not specified by the JLS. |
valueOf | back to summary |
---|---|
public static Target valueOf(String name) |
values | back to summary |
---|---|
public static Target[] values() |