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.
This package contains utility classes for the
Byte Code Engineering
Library, namely:
-
Uses of Constant in org.apache.bcel.classfile
Subclasses of Constant in org.apache.bcel.classfileModifier and TypeClassDescriptionfinal class
This class is derived from the abstractConstant
and represents a reference to a (external) class.class
Abstract super class for Fieldref, Methodref, InterfaceMethodref and InvokeDynamic constants.final class
This class is derived from the abstractConstant
and represents a reference to a Double object.final class
This class is derived from the abstractConstant
and represents a reference to a dynamically computed constant.final class
This class represents a constant pool reference to a field.final class
This class is derived from the abstractConstant
and represents a reference to a float object.final class
This class is derived from the abstractConstant
and represents a reference to an int object.final class
This class represents a constant pool reference to an interface method.final class
This class is derived from the abstractConstant
and represents a reference to a invoke dynamic.final class
This class is derived from the abstractConstant
and represents a reference to a long object.final class
This class is derived from the abstractConstant
and represents a reference to a method handle.final class
This class represents a constant pool reference to a method.final class
This class is derived from the abstractConstant
and represents a reference to a method type.final class
This class is derived from the abstractConstant
and represents a reference to a module.final class
This class is derived from the abstractConstant
and represents a reference to the name and signature of a field or method.final class
This class is derived from the abstractConstant
and represents a reference to a package.final class
This class is derived from the abstractConstant
and represents a reference to a String object.final class
Extends the abstractConstant
to represent a reference to a UTF-8 encoded string.Fields in org.apache.bcel.classfile declared as ConstantMethods in org.apache.bcel.classfile that return ConstantModifier and TypeMethodDescriptionConstant.copy()
ConstantPool.getConstant
(int index) Gets constant from constant pool.ConstantPool.getConstant
(int index, byte tag) Gets constant from constant pool and check whether it has the expected type.Constant[]
ConstantPool.getConstantPool()
static Constant
Constant.readConstant
(DataInput dataInput) Reads one constant from the given input, the type depends on a tag byte.Methods in org.apache.bcel.classfile with parameters of type ConstantModifier and TypeMethodDescriptionConstantPool.constantToString
(Constant c) Resolves constant to a string representation.void
ConstantPool.setConstant
(int index, Constant constant) void
ConstantPool.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 ConstantModifier and TypeFieldDescriptionprotected Constant[]
ConstantPoolGen.constants
Deprecated.(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 TypeMethodDescriptionint
ConstantPoolGen.addConstant
(Constant c, ConstantPoolGen cp) Import constant from another ConstantPool and return new index.void
ConstantPoolGen.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. -
Uses of Constant in org.apache.bcel.util
Fields in org.apache.bcel.util declared as Constant