Uses of Class
classycle.classfile.Constant
Packages that use Constant
-
Uses of Constant in classycle.classfile
Subclasses of Constant in classycle.classfileModifier and TypeClassDescriptionclass
Class constant.class
Constant representing a double value.class
Reference constant for a field.class
Constant representing a float value.class
Constant representing a int value.class
Reference constant for an interface method.class
Constant specifying a bootstrap method..class
Constant representing a long value.class
Constant representing a method handle.class
Reference constant for a method.class
Constant representing a method type.class
Constant holding a name and a type or method descriptor.class
Abstract supper class of all reference constants.class
Constant of a String value.class
Constant of an arbitrary Unicode string.Methods in classycle.classfile that return ConstantModifier and TypeMethodDescriptionstatic Constant[]
Constant.extractConstantPool
(DataInputStream stream) Extracts the constant pool from the specified data stream of a class file.Constant.getConstant
(int index) Returns the specified constant from the pool.Constructors in classycle.classfile with parameters of type ConstantModifierConstructorDescriptionClassConstant
(Constant[] pool, int nameIndex) Creates an instance for the specified index refering anUTF8Constant
.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, String string) Creates an instance for the specified string.