Uses of Class
org.apache.bcel.classfile.Constant
Packages that use Constant
Package
Description
This package contains the classes that describe the structure of a
Java class file and a class file parser.
This package contains the "generic" part of the
Byte Code Engineering
Library, i.e., classes to dynamically modify class objects and
byte code instructions.
-
Uses of Constant in org.apache.bcel.classfile
Subclasses of Constant in org.apache.bcel.classfileModifier and TypeClassDescriptionfinal classThis class is derived from the abstract Constant class and represents a reference to a (external) class.classAbstract super class for Fieldref and Methodref constants.final classThis class is derived from the abstract Constant class and represents a reference to a Double object.final classThis class represents a constant pool reference to a field.final classThis class is derived from the abstract Constant class and represents a reference to a float object.final classThis class is derived from the abstract Constant class and 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 abstract Constant class and represents a reference to a long object.final classThis class represents a constant pool reference to a method.final classThis class is derived from the abstract Constant class and represents a reference to the name and signature of a field or method.final classThis class is derived from the abstract Constant class and represents a reference to a String object.final classThis class is derived from the abstract Constant class and represents a reference to a Utf8 encoded string.Methods in org.apache.bcel.classfile that return ConstantModifier and TypeMethodDescriptionConstant.copy()ConstantPool.getConstant(int index) Get constant from constant pool.ConstantPool.getConstant(int index, byte tag) Get constant from constant pool and check whether it has the expected type.Constant[]ConstantPool.getConstantPool()Methods in org.apache.bcel.classfile with parameters of type ConstantModifier and TypeMethodDescriptionConstantPool.constantToString(Constant c) Resolve constant to a string representation.voidConstantPool.setConstant(int index, Constant constant) voidConstantPool.setConstantPool(Constant[] constant_pool) 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 ConstantMethods in org.apache.bcel.generic that return ConstantMethods in org.apache.bcel.generic with parameters of type ConstantModifier and TypeMethodDescriptionintConstantPoolGen.addConstant(Constant c, ConstantPoolGen cp) Import constant from another ConstantPool and return new index.voidConstantPoolGen.setConstant(int i, Constant c) Use with care!Constructors in org.apache.bcel.generic with parameters of type ConstantModifierConstructorDescriptionConstantPoolGen(Constant[] cs) Initialize with given array of constants.