Package | Description |
---|---|
classycle.classfile |
Modifier and Type | Class and Description |
---|---|
class |
ClassConstant
Class constant.
|
class |
DoubleConstant
Constant representing a double value.
|
class |
FieldRefConstant
Reference constant for a field.
|
class |
FloatConstant
Constant representing a float value.
|
class |
IntConstant
Constant representing a int value.
|
class |
InterfaceMethodRefConstant
Reference constant for an interface method.
|
class |
InvokeDynamicConstant
Constant specifying a bootstrap method..
|
class |
LongConstant
Constant representing a long value.
|
class |
MethodHandleConstant
Constant representing a method handle.
|
class |
MethodRefConstant
Reference constant for a method.
|
class |
MethodTypeConstant
Constant representing a method type.
|
class |
NameAndTypeConstant
Constant holding a name and a type or method descriptor.
|
class |
RefConstant
Abstract supper class of all reference constants.
|
class |
StringConstant
Constant of a String value.
|
class |
UTF8Constant
Constant of an arbitrary Unicode string.
|
Modifier and Type | Method and Description |
---|---|
static Constant[] |
Constant.extractConstantPool(java.io.DataInputStream stream)
Extracts the constant pool from the specified data stream of a class file.
|
Constant |
Constant.getConstant(int index)
Returns the specified constant from the pool.
|
Constructor and Description |
---|
ClassConstant(Constant[] pool,
int nameIndex)
Creates an instance for the specified index refering an
UTF8Constant . |
Constant(Constant[] pool)
Creates an instance.
|
DoubleConstant(Constant[] pool,
double value)
Creates an instance for the specified double value.
|
FieldRefConstant(Constant[] pool,
int classIndex,
int nameAndTypeIndex) |
FloatConstant(Constant[] pool,
float value)
Creates an instance for the specified float value.
|
IntConstant(Constant[] pool,
int value)
Creates an instance for the specified int value.
|
InterfaceMethodRefConstant(Constant[] pool,
int classIndex,
int nameAndTypeIndex) |
InvokeDynamicConstant(Constant[] pool,
int bootstrapMethodAttrIndex,
int nameAndTypeIndex)
Creates an instance for the specified bootstrap method.
|
LongConstant(Constant[] pool,
long value)
Creates an instance for the specified long value.
|
MethodHandleConstant(Constant[] pool,
int referenceKind,
int referenceIndex)
Creates an instance for the specified method reference.
|
MethodRefConstant(Constant[] pool,
int classIndex,
int nameAndTypeIndex) |
MethodTypeConstant(Constant[] pool,
int descriptorIndex)
Creates an instance for the specified method reference.
|
NameAndTypeConstant(Constant[] pool,
int nameIndex,
int descriptorIndex)
Creates an instance for the specified name and type or method descriptor.
|
RefConstant(Constant[] pool,
int classIndex,
int nameAndTypeIndex)
Creates an instance for the specified class, name, and type.
|
StringConstant(Constant[] pool,
int stringIndex)
Creates an instance for the specfied index.
|
UTF8Constant(Constant[] pool,
java.lang.String string)
Creates an instance for the specified string.
|