|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Constant | |
---|---|
classycle.classfile |
Uses of Constant in classycle.classfile |
---|
Subclasses of Constant in classycle.classfile | |
---|---|
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 |
LongConstant
Constant representing a long value. |
class |
MethodRefConstant
Reference constant for a method. |
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. |
Methods in classycle.classfile that return Constant | |
---|---|
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. |
Constructors in classycle.classfile with parameters of type Constant | |
---|---|
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)
|
|
LongConstant(Constant[] pool,
long value)
Creates an instance for the specified long value. |
|
MethodRefConstant(Constant[] pool,
int classIndex,
int nameAndTypeIndex)
|
|
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |