Enum CommonBytecodeLibrary
- All Implemented Interfaces:
Serializable,Comparable<CommonBytecodeLibrary>,BytecodeLibrary
Common bytecode libraries.
- Implementation note
- this could have been implemented
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if this bytecode library seems to be currently available at runtime updating its availability state.booleanChecks if this bytecode library seems to be available at runtime.static CommonBytecodeLibraryReturns the enum constant of this type with the specified name.static CommonBytecodeLibrary[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ASM
ObjectWeb ASM -
JAVASSIST
Javassist -
BCEL
Commons BCEL -
GNU
GNU Bytecode
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
isAvailable
public boolean isAvailable()Description copied from interface:BytecodeLibraryChecks if this bytecode library seems to be available at runtime.- Specified by:
isAvailablein interfaceBytecodeLibrary- Returns:
trueif this bytecode library seems to be available at runtime andfalseotherwise
-
checkAvailability
public boolean checkAvailability()Description copied from interface:BytecodeLibraryChecks if this bytecode library seems to be currently available at runtime updating its availability state.- Specified by:
checkAvailabilityin interfaceBytecodeLibrary- Returns:
trueif this bytecode library seems to be available at runtime andfalseotherwise
-