public static enum AsmTest.PrecompiledClass extends java.lang.Enum<AsmTest.PrecompiledClass>
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes()
Returns the content of this class.
|
java.lang.String |
getInternalName()
Returns the internal name of this class.
|
java.lang.String |
getName()
Returns the fully qualified name of this class.
|
boolean |
isMoreRecentThan(AsmTest.Api api)
Returns true if this class was compiled with a JDK which is more recent than the given ASM
API.
|
boolean |
isMoreRecentThanCurrentJdk()
Returns true if this class was compiled with a JDK which is more recent than the JDK used to
run the tests.
|
java.lang.String |
toString() |
static AsmTest.PrecompiledClass |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AsmTest.PrecompiledClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsmTest.PrecompiledClass DEFAULT_PACKAGE
public static final AsmTest.PrecompiledClass JDK3_ALL_INSTRUCTIONS
public static final AsmTest.PrecompiledClass JDK3_ALL_STRUCTURES
public static final AsmTest.PrecompiledClass JDK3_ANONYMOUS_INNER_CLASS
public static final AsmTest.PrecompiledClass JDK3_ARTIFICIAL_STRUCTURES
public static final AsmTest.PrecompiledClass JDK3_INNER_CLASS
public static final AsmTest.PrecompiledClass JDK3_LARGE_METHOD
public static final AsmTest.PrecompiledClass JDK5_ALL_INSTRUCTIONS
public static final AsmTest.PrecompiledClass JDK5_ALL_STRUCTURES
public static final AsmTest.PrecompiledClass JDK5_ANNOTATION
public static final AsmTest.PrecompiledClass JDK5_ENUM
public static final AsmTest.PrecompiledClass JDK5_LOCAL_CLASS
public static final AsmTest.PrecompiledClass JDK8_ALL_FRAMES
public static final AsmTest.PrecompiledClass JDK8_ALL_INSTRUCTIONS
public static final AsmTest.PrecompiledClass JDK8_ALL_STRUCTURES
public static final AsmTest.PrecompiledClass JDK8_ANONYMOUS_INNER_CLASS
public static final AsmTest.PrecompiledClass JDK8_ARTIFICIAL_STRUCTURES
public static final AsmTest.PrecompiledClass JDK8_INNER_CLASS
public static final AsmTest.PrecompiledClass JDK8_LARGE_METHOD
public static final AsmTest.PrecompiledClass JDK9_MODULE
public static final AsmTest.PrecompiledClass JDK11_ALL_INSTRUCTIONS
public static final AsmTest.PrecompiledClass JDK11_ALL_STRUCTURES
public static final AsmTest.PrecompiledClass JDK11_ALL_STRUCTURES_NESTED
public static AsmTest.PrecompiledClass[] values()
for (AsmTest.PrecompiledClass c : AsmTest.PrecompiledClass.values()) System.out.println(c);
public static AsmTest.PrecompiledClass valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public java.lang.String getInternalName()
public boolean isMoreRecentThan(AsmTest.Api api)
api
- an ASM API version.public boolean isMoreRecentThanCurrentJdk()
public byte[] getBytes()
public java.lang.String toString()
toString
in class java.lang.Enum<AsmTest.PrecompiledClass>