Uses of Class
org.apache.bcel.classfile.ConstantPool
Packages that use ConstantPool
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:
Provides PassVerifier classes used internally by JustIce.
-
Uses of ConstantPool in org.apache.bcel.classfile
Fields in org.apache.bcel.classfile declared as ConstantPoolModifier and TypeFieldDescriptionprivate final ConstantPool
AnnotationEntry.constant_pool
protected ConstantPool
Attribute.constant_pool
Deprecated.(since 6.0) will be made private; do not access directly, use getter/setterprivate ConstantPool
ClassParser.constant_pool
protected ConstantPool
FieldOrMethod.constant_pool
Deprecated.(since 6.0) will be made private; do not access directly, use getter/setterprivate ConstantPool
JavaClass.constant_pool
private ConstantPool
LocalVariable.constant_pool
private ConstantPool
StackMapEntry.constant_pool
private ConstantPool
StackMapType.constant_pool
private final ConstantPool
ElementValuePair.constantPool
protected ConstantPool
ElementValue.cpool
Deprecated.(since 6.0) will be made private and final; do not access directly, use getterMethods in org.apache.bcel.classfile that return ConstantPoolModifier and TypeMethodDescriptionConstantPool.copy()
AnnotationEntry.getConstantPool()
final ConstantPool
Attribute.getConstantPool()
(package private) final ConstantPool
ElementValue.getConstantPool()
final ConstantPool
FieldOrMethod.getConstantPool()
JavaClass.getConstantPool()
LocalVariable.getConstantPool()
StackMapEntry.getConstantPool()
StackMapType.getConstantPool()
Methods in org.apache.bcel.classfile with parameters of type ConstantPoolModifier and TypeMethodDescriptionstatic String
Utility.codeToString
(byte[] code, ConstantPool constant_pool, int index, int length) static String
Utility.codeToString
(byte[] code, ConstantPool constant_pool, int index, int length, boolean verbose) Disassemble a byte array of JVM byte codes starting from code line `index' and return the disassembled string representation.static String
Utility.codeToString
(ByteSequence bytes, ConstantPool constant_pool) static String
Utility.codeToString
(ByteSequence bytes, ConstantPool constant_pool, boolean verbose) Disassemble a stream of byte codes and return the string representation.AnnotationDefault.copy
(ConstantPool _constant_pool) abstract Attribute
Attribute.copy
(ConstantPool _constant_pool) BootstrapMethods.copy
(ConstantPool _constant_pool) Code.copy
(ConstantPool _constant_pool) ConstantValue.copy
(ConstantPool _constant_pool) Deprecated.copy
(ConstantPool _constant_pool) EnclosingMethod.copy
(ConstantPool constant_pool) ExceptionTable.copy
(ConstantPool _constant_pool) Field.copy
(ConstantPool _constant_pool) InnerClasses.copy
(ConstantPool _constant_pool) LineNumberTable.copy
(ConstantPool _constant_pool) LocalVariableTable.copy
(ConstantPool _constant_pool) LocalVariableTypeTable.copy
(ConstantPool constant_pool) Method.copy
(ConstantPool _constant_pool) MethodParameters.copy
(ConstantPool _constant_pool) Module.copy
(ConstantPool _constant_pool) ModuleMainClass.copy
(ConstantPool _constant_pool) ModulePackages.copy
(ConstantPool _constant_pool) NestHost.copy
(ConstantPool _constant_pool) NestMembers.copy
(ConstantPool _constant_pool) ParameterAnnotations.copy
(ConstantPool constant_pool) PMGClass.copy
(ConstantPool _constant_pool) RuntimeInvisibleAnnotations.copy
(ConstantPool constant_pool) RuntimeVisibleAnnotations.copy
(ConstantPool constant_pool) Signature.copy
(ConstantPool _constant_pool) SourceFile.copy
(ConstantPool _constant_pool) StackMap.copy
(ConstantPool _constant_pool) Synthetic.copy
(ConstantPool _constant_pool) Unknown.copy
(ConstantPool _constant_pool) protected FieldOrMethod
FieldOrMethod.copy_
(ConstantPool _constant_pool) AttributeReader.createAttribute
(int name_index, int length, DataInputStream file, ConstantPool constant_pool) Deprecated.When this attribute reader is added via the static method Attribute.addAttributeReader, an attribute name is associated with it.UnknownAttributeReader.createAttribute
(int name_index, int length, DataInput file, ConstantPool constant_pool) When this attribute reader is added via the static method Attribute.addAttributeReader, an attribute name is associated with it.ConstantClass.getBytes
(ConstantPool cp) ConstantModule.getBytes
(ConstantPool cp) ConstantPackage.getBytes
(ConstantPool cp) ConstantString.getBytes
(ConstantPool cp) ConstantCP.getClass
(ConstantPool cp) ConstantClass.getConstantValue
(ConstantPool cp) ConstantDouble.getConstantValue
(ConstantPool cp) ConstantFloat.getConstantValue
(ConstantPool cp) ConstantInteger.getConstantValue
(ConstantPool cp) ConstantLong.getConstantValue
(ConstantPool cp) ConstantModule.getConstantValue
(ConstantPool cp) ConstantObject.getConstantValue
(ConstantPool cp) ConstantPackage.getConstantValue
(ConstantPool cp) ConstantString.getConstantValue
(ConstantPool cp) ConstantNameAndType.getName
(ConstantPool cp) MethodParameter.getParameterName
(ConstantPool constant_pool) Returns the name of the parameter.ConstantNameAndType.getSignature
(ConstantPool cp) static AnnotationEntry
AnnotationEntry.read
(DataInput input, ConstantPool constant_pool, boolean isRuntimeVisible) static Attribute
Attribute.readAttribute
(DataInput file, ConstantPool constant_pool) Class method reads one attribute from the input data stream.static Attribute
Attribute.readAttribute
(DataInputStream file, ConstantPool constant_pool) Class method reads one attribute from the input data stream.static ElementValue
ElementValue.readElementValue
(DataInput input, ConstantPool cpool) final void
Attribute.setConstantPool
(ConstantPool constant_pool) final void
FieldOrMethod.setConstantPool
(ConstantPool constant_pool) void
JavaClass.setConstantPool
(ConstantPool constant_pool) void
LocalVariable.setConstantPool
(ConstantPool constant_pool) void
StackMapEntry.setConstantPool
(ConstantPool constant_pool) void
StackMapType.setConstantPool
(ConstantPool constant_pool) final String
BootstrapMethod.toString
(ConstantPool constant_pool) CodeException.toString
(ConstantPool cp) CodeException.toString
(ConstantPool cp, boolean verbose) InnerClass.toString
(ConstantPool constant_pool) ModuleExports.toString
(ConstantPool constant_pool) ModuleOpens.toString
(ConstantPool constant_pool) ModuleProvides.toString
(ConstantPool constant_pool) ModuleRequires.toString
(ConstantPool constant_pool) void
DescendingVisitor.visitConstantPool
(ConstantPool cp) void
EmptyVisitor.visitConstantPool
(ConstantPool obj) void
Visitor.visitConstantPool
(ConstantPool obj) Constructors in org.apache.bcel.classfile with parameters of type ConstantPoolModifierConstructorDescription(package private)
AnnotationDefault
(int name_index, int length, DataInput input, ConstantPool constant_pool) AnnotationDefault
(int name_index, int length, ElementValue defaultValue, ConstantPool constant_pool) AnnotationElementValue
(int type, AnnotationEntry annotationEntry, ConstantPool cpool) AnnotationEntry
(int type_index, ConstantPool constant_pool, boolean isRuntimeVisible) (package private)
Annotations
(byte annotation_type, int name_index, int length, DataInput input, ConstantPool constant_pool, boolean isRuntimeVisible) Annotations
(byte annotation_type, int name_index, int length, AnnotationEntry[] annotation_table, ConstantPool constant_pool, boolean isRuntimeVisible) ArrayElementValue
(int type, ElementValue[] datums, ConstantPool cpool) protected
Attribute
(byte tag, int name_index, int length, ConstantPool constant_pool) (package private)
BootstrapMethods
(int name_index, int length, DataInput input, ConstantPool constant_pool) Construct object from Input stream.BootstrapMethods
(int name_index, int length, BootstrapMethod[] bootstrap_methods, ConstantPool constant_pool) ClassElementValue
(int type, int idx, ConstantPool cpool) Code
(int name_index, int length, int max_stack, int max_locals, byte[] code, CodeException[] exception_table, Attribute[] attributes, ConstantPool constant_pool) (package private)
Code
(int name_index, int length, DataInput file, ConstantPool constant_pool) ConstantValue
(int name_index, int length, int constantvalue_index, ConstantPool constant_pool) (package private)
ConstantValue
(int name_index, int length, DataInput input, ConstantPool constant_pool) Construct object from input stream.Deprecated
(int name_index, int length, byte[] bytes, ConstantPool constant_pool) (package private)
Deprecated
(int name_index, int length, DataInput input, ConstantPool constant_pool) Construct object from input stream.protected
ElementValue
(int type, ConstantPool cpool) ElementValuePair
(int elementNameIndex, ElementValue elementValue, ConstantPool constantPool) private
EnclosingMethod
(int nameIndex, int len, int classIdx, int methodIdx, ConstantPool cpool) (package private)
EnclosingMethod
(int nameIndex, int len, DataInput input, ConstantPool cpool) EnumElementValue
(int type, int typeIdx, int valueIdx, ConstantPool cpool) ExceptionTable
(int name_index, int length, int[] exception_index_table, ConstantPool constant_pool) (package private)
ExceptionTable
(int name_index, int length, DataInput input, ConstantPool constant_pool) Construct object from input stream.Field
(int access_flags, int name_index, int signature_index, Attribute[] attributes, ConstantPool constant_pool) (package private)
Field
(DataInput file, ConstantPool constant_pool) Construct object from file stream.protected
FieldOrMethod
(int access_flags, int name_index, int signature_index, Attribute[] attributes, ConstantPool constant_pool) protected
FieldOrMethod
(DataInput file, ConstantPool constant_pool) Construct object from file stream.protected
FieldOrMethod
(DataInputStream file, ConstantPool constant_pool) Deprecated.(6.0) UseFieldOrMethod(java.io.DataInput, ConstantPool)
instead.(package private)
InnerClasses
(int name_index, int length, DataInput input, ConstantPool constant_pool) Construct object from input stream.InnerClasses
(int name_index, int length, InnerClass[] inner_classes, ConstantPool constant_pool) JavaClass
(int class_name_index, int superclass_name_index, String file_name, int major, int minor, int access_flags, ConstantPool constant_pool, int[] interfaces, Field[] fields, Method[] methods, Attribute[] attributes) Constructor gets all contents as arguments.JavaClass
(int class_name_index, int superclass_name_index, String file_name, int major, int minor, int access_flags, ConstantPool constant_pool, int[] interfaces, Field[] fields, Method[] methods, Attribute[] attributes, byte source) Constructor gets all contents as arguments.(package private)
LineNumberTable
(int name_index, int length, DataInput input, ConstantPool constant_pool) Construct object from input stream.LineNumberTable
(int name_index, int length, LineNumber[] line_number_table, ConstantPool constant_pool) LocalVariable
(int start_pc, int length, int name_index, int signature_index, int index, ConstantPool constant_pool) LocalVariable
(int start_pc, int length, int name_index, int signature_index, int index, ConstantPool constant_pool, int orig_index) (package private)
LocalVariable
(DataInput file, ConstantPool constant_pool) Constructs object from file stream.(package private)
LocalVariableTable
(int name_index, int length, DataInput input, ConstantPool constant_pool) Construct object from input stream.LocalVariableTable
(int name_index, int length, LocalVariable[] local_variable_table, ConstantPool constant_pool) (package private)
LocalVariableTypeTable
(int nameIdx, int len, DataInput input, ConstantPool cpool) LocalVariableTypeTable
(int name_index, int length, LocalVariable[] local_variable_table, ConstantPool constant_pool) Method
(int access_flags, int name_index, int signature_index, Attribute[] attributes, ConstantPool constant_pool) (package private)
Method
(DataInput file, ConstantPool constant_pool) Construct object from file stream.(package private)
MethodParameters
(int name_index, int length, DataInput input, ConstantPool constant_pool) (package private)
Module
(int name_index, int length, DataInput input, ConstantPool constant_pool) Construct object from input stream.ModuleMainClass
(int name_index, int length, int main_class_index, ConstantPool constant_pool) (package private)
ModuleMainClass
(int name_index, int length, DataInput input, ConstantPool constant_pool) Construct object from input stream.ModulePackages
(int name_index, int length, int[] package_index_table, ConstantPool constant_pool) (package private)
ModulePackages
(int name_index, int length, DataInput input, ConstantPool constant_pool) Construct object from input stream.NestHost
(int name_index, int length, int host_class_index, ConstantPool constant_pool) (package private)
NestHost
(int name_index, int length, DataInput input, ConstantPool constant_pool) Constructs object from input stream.NestMembers
(int name_index, int length, int[] classes, ConstantPool constant_pool) (package private)
NestMembers
(int name_index, int length, DataInput input, ConstantPool constant_pool) Construct object from input stream.(package private)
ParameterAnnotationEntry
(DataInput input, ConstantPool constant_pool) Construct object from input stream.(package private)
ParameterAnnotations
(byte parameter_annotation_type, int name_index, int length, DataInput input, ConstantPool constant_pool) ParameterAnnotations
(byte parameter_annotation_type, int name_index, int length, ParameterAnnotationEntry[] parameter_annotation_table, ConstantPool constant_pool) PMGClass
(int name_index, int length, int pmg_index, int pmg_class_index, ConstantPool constant_pool) (package private)
PMGClass
(int name_index, int length, DataInput input, ConstantPool constant_pool) Construct object from input stream.RuntimeInvisibleAnnotations
(int name_index, int length, DataInput input, ConstantPool constant_pool) RuntimeInvisibleParameterAnnotations
(int name_index, int length, DataInput input, ConstantPool constant_pool) RuntimeVisibleAnnotations
(int name_index, int length, DataInput input, ConstantPool constant_pool) RuntimeVisibleParameterAnnotations
(int name_index, int length, DataInput input, ConstantPool constant_pool) Signature
(int name_index, int length, int signature_index, ConstantPool constant_pool) (package private)
Signature
(int name_index, int length, DataInput input, ConstantPool constant_pool) Construct object from file stream.SimpleElementValue
(int type, int index, ConstantPool cpool) SourceFile
(int name_index, int length, int sourcefile_index, ConstantPool constant_pool) (package private)
SourceFile
(int name_index, int length, DataInput input, ConstantPool constant_pool) Construct object from input stream.(package private)
StackMap
(int name_index, int length, DataInput input, ConstantPool constant_pool) Construct object from input stream.StackMap
(int name_index, int length, StackMapEntry[] map, ConstantPool constant_pool) StackMapEntry
(int byteCodeOffset, int numberOfLocals, StackMapType[] typesOfLocals, int numberOfStackItems, StackMapType[] typesOfStackItems, ConstantPool constantPool) Deprecated.Since 6.0, useStackMapEntry(int, int, StackMapType[], StackMapType[], ConstantPool)
insteadStackMapEntry
(int tag, int byteCodeOffset, StackMapType[] typesOfLocals, StackMapType[] typesOfStackItems, ConstantPool constantPool) Create an instance(package private)
StackMapEntry
(DataInput input, ConstantPool constantPool) Construct object from input stream.StackMapType
(byte type, int index, ConstantPool constant_pool) (package private)
StackMapType
(DataInput file, ConstantPool constant_pool) Construct object from file stream.Synthetic
(int name_index, int length, byte[] bytes, ConstantPool constant_pool) (package private)
Synthetic
(int name_index, int length, DataInput input, ConstantPool constant_pool) Construct object from input stream.Unknown
(int name_index, int length, byte[] bytes, ConstantPool constant_pool) Create a non-standard attribute.(package private)
Unknown
(int name_index, int length, DataInput input, ConstantPool constant_pool) Construct object from input stream. -
Uses of ConstantPool in org.apache.bcel.generic
Methods in org.apache.bcel.generic that return ConstantPoolModifier and TypeMethodDescriptionConstantPoolGen.getConstantPool()
ConstantPoolGen.getFinalConstantPool()
Methods in org.apache.bcel.generic with parameters of type ConstantPoolModifier and TypeMethodDescriptionCPInstruction.toString
(ConstantPool cp) FieldInstruction.toString
(ConstantPool cp) Instruction.toString
(ConstantPool cp) INVOKEDYNAMIC.toString
(ConstantPool cp) InvokeInstruction.toString
(ConstantPool cp) INVOKEINTERFACE.toString
(ConstantPool cp) MULTIANEWARRAY.toString
(ConstantPool cp) Constructors in org.apache.bcel.generic with parameters of type ConstantPoolModifierConstructorDescriptionInitialize with given constant pool. -
Uses of ConstantPool in org.apache.bcel.util
Fields in org.apache.bcel.util declared as ConstantPoolModifier and TypeFieldDescriptionprivate final ConstantPool
AttributeHTML.constant_pool
private static ConstantPool
Class2HTML.constant_pool
private final ConstantPool
CodeHTML.constant_pool
private final ConstantPool
ConstantHTML.constant_pool
Constructors in org.apache.bcel.util with parameters of type ConstantPoolModifierConstructorDescription(package private)
AttributeHTML
(String dir, String class_name, ConstantPool constant_pool, ConstantHTML constant_html) (package private)
CodeHTML
(String dir, String class_name, Method[] methods, ConstantPool constant_pool, ConstantHTML constant_html) (package private)
ConstantHTML
(String dir, String class_name, String class_package, Method[] methods, ConstantPool constant_pool) -
Uses of ConstantPool in org.apache.bcel.verifier.statics
Fields in org.apache.bcel.verifier.statics declared as ConstantPoolModifier and TypeFieldDescriptionprivate final ConstantPool
Pass2Verifier.CPESSC_Visitor.cp
private final ConstantPool
Pass2Verifier.FAMRAV_Visitor.cp
private final ConstantPool
Pass2Verifier.InnerClassDetector.cp
Methods in org.apache.bcel.verifier.statics with parameters of type ConstantPoolModifier and TypeMethodDescriptionvoid
Pass2Verifier.CPESSC_Visitor.visitConstantPool
(ConstantPool obj) void
StringRepresentation.visitConstantPool
(ConstantPool obj)