Uses of Class
org.apache.bcel.classfile.Constant
Packages that use Constant
Package
Description
Classes that describe the structure of a Java class file and a class file parser.
Generic part of the Apache Byte Code Engineering Library (BCEL), classes to dynamically modify class objects
and byte code instructions.
Utility classes for the Apache Byte Code Engineering Library (BCEL), namely:
Collection classes for JavaClass objects
A converter for class files to HTML
A tool to find instructions patterns via regular expressions
A class to find classes as defined in the CLASSPATH
A class loader that allows to create classes at run time
-
Uses of Constant in org.apache.bcel.classfile
Subclasses of Constant in org.apache.bcel.classfileModifier and TypeClassDescriptionfinal classThis class is derived from the abstractConstantand represents a reference to a (external) class.classAbstract super class for Fieldref, Methodref, InterfaceMethodref and InvokeDynamic constants.final classThis class is derived from the abstractConstantand represents a reference to a Double object.final classThis class is derived from the abstractConstantand represents a reference to a dynamically computed constant.final classThis class represents a constant pool reference to a field.final classThis class is derived from the abstractConstantand represents a reference to a float object.final classThis class is derived from the abstractConstantand represents a reference to an int object.final classThis class represents a constant pool reference to an interface method.final classThis class is derived from the abstractConstantand represents a reference to a invoke dynamic.final classThis class is derived from the abstractConstantand represents a reference to a long object.final classThis class is derived from the abstractConstantand represents a reference to a method handle.final classThis class represents a constant pool reference to a method.final classThis class is derived from the abstractConstantand represents a reference to a method type.final classThis class is derived from the abstractConstantand represents a reference to a module.final classThis class is derived from the abstractConstantand represents a reference to the name and signature of a field or method.final classThis class is derived from the abstractConstantand represents a reference to a package.final classThis class is derived from the abstractConstantand represents a reference to a String object.final classExtends the abstractConstantto represent a reference to a UTF-8 encoded string.Fields in org.apache.bcel.classfile declared as ConstantFields in org.apache.bcel.classfile with type parameters of type ConstantMethods in org.apache.bcel.classfile with type parameters of type ConstantModifier and TypeMethodDescription<T extends Constant>
TConstantPool.getConstant(int index) Gets constant from constant pool.<T extends Constant>
TConstantPool.getConstant(int index, byte tag) Gets constant from constant pool and check whether it has the expected type.<T extends Constant>
TConstantPool.getConstant(int index, byte tag, Class<T> castTo) Gets constant from constant pool and check whether it has the expected type.<T extends Constant>
TConstantPool.getConstant(int index, Class<T> castTo) Gets constant from constant pool.Methods in org.apache.bcel.classfile that return ConstantModifier and TypeMethodDescriptionConstant.copy()Constant[]ConstantPool.getConstantPool()static ConstantConstant.readConstant(DataInput dataInput) Reads one constant from the given input, the type depends on a tag byte.Methods in org.apache.bcel.classfile that return types with arguments of type ConstantModifier and TypeMethodDescriptionstatic BCELComparator<Constant> Constant.getComparator()ConstantPool.iterator()Methods in org.apache.bcel.classfile with parameters of type ConstantModifier and TypeMethodDescriptionConstantPool.constantToString(Constant c) Resolves constant to a string representation.voidConstantPool.setConstant(int index, Constant constant) voidConstantPool.setConstantPool(Constant[] constantPool) Method parameters in org.apache.bcel.classfile with type arguments of type ConstantModifier and TypeMethodDescriptionstatic voidConstant.setComparator(BCELComparator<Constant> comparator) Constructors in org.apache.bcel.classfile with parameters of type Constant -
Uses of Constant in org.apache.bcel.generic
Fields in org.apache.bcel.generic declared as ConstantModifier and TypeFieldDescriptionprotected Constant[]ConstantPoolGen.constantsDeprecated.(since 6.0) will be made private; do not access directly, use getter/setterMethods in org.apache.bcel.generic that return ConstantMethods in org.apache.bcel.generic with parameters of type ConstantModifier and TypeMethodDescriptionintConstantPoolGen.addConstant(Constant constant, ConstantPoolGen cpGen) Adds a constant from another ConstantPool and returns the new index.voidConstantPoolGen.setConstant(int i, Constant c) Use with care!Constructors in org.apache.bcel.generic with parameters of type ConstantModifierConstructorDescriptionConstantPoolGen(Constant[] cs) Constructs a new instance with the given array of constants. -
Uses of Constant in org.apache.bcel.util
Fields in org.apache.bcel.util declared as Constant