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.
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 TypeFieldDescriptionprotected ConstantPoolAttribute.constant_poolprotected ConstantPoolFieldOrMethod.constant_poolprotected ConstantPoolElementValue.cpoolMethods in org.apache.bcel.classfile that return ConstantPoolModifier and TypeMethodDescriptionConstantPool.copy()final ConstantPoolAttribute.getConstantPool()final ConstantPoolFieldOrMethod.getConstantPool()JavaClass.getConstantPool()final ConstantPoolLocalVariable.getConstantPool()final ConstantPoolStackMapEntry.getConstantPool()final ConstantPoolStackMapType.getConstantPool()Methods in org.apache.bcel.classfile with parameters of type ConstantPoolModifier and TypeMethodDescriptionstatic final StringUtility.codeToString(byte[] code, ConstantPool constant_pool, int index, int length) static final StringUtility.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 final StringUtility.codeToString(ByteSequence bytes, ConstantPool constant_pool) static final StringUtility.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 AttributeAttribute.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) final FieldField.copy(ConstantPool _constant_pool) InnerClasses.copy(ConstantPool _constant_pool) LineNumberTable.copy(ConstantPool _constant_pool) LocalVariableTable.copy(ConstantPool _constant_pool) LocalVariableTypeTable.copy(ConstantPool constant_pool) final MethodMethod.copy(ConstantPool _constant_pool) PMGClass.copy(ConstantPool _constant_pool) RuntimeInvisibleAnnotations.copy(ConstantPool constant_pool) RuntimeInvisibleParameterAnnotations.copy(ConstantPool constant_pool) RuntimeVisibleAnnotations.copy(ConstantPool constant_pool) RuntimeVisibleParameterAnnotations.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 FieldOrMethodFieldOrMethod.copy_(ConstantPool _constant_pool) AttributeReader.createAttribute(int name_index, int length, DataInputStream 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) 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) ConstantObject.getConstantValue(ConstantPool cp) ConstantString.getConstantValue(ConstantPool cp) final StringConstantNameAndType.getName(ConstantPool cp) final StringConstantNameAndType.getSignature(ConstantPool cp) static AnnotationEntryAnnotationEntry.read(DataInputStream file, ConstantPool constant_pool, boolean isRuntimeVisible) static final AttributeAttribute.readAttribute(DataInputStream file, ConstantPool constant_pool) static ElementValueElementValue.readElementValue(DataInputStream dis, ConstantPool cpool) final voidAttribute.setConstantPool(ConstantPool constant_pool) final voidFieldOrMethod.setConstantPool(ConstantPool constant_pool) voidJavaClass.setConstantPool(ConstantPool constant_pool) final voidLocalVariable.setConstantPool(ConstantPool constant_pool) final voidStackMapEntry.setConstantPool(ConstantPool constant_pool) final voidStackMapType.setConstantPool(ConstantPool constant_pool) final StringCodeException.toString(ConstantPool cp) final StringCodeException.toString(ConstantPool cp, boolean verbose) final StringInnerClass.toString(ConstantPool constant_pool) voidDescendingVisitor.visitConstantPool(ConstantPool cp) voidEmptyVisitor.visitConstantPool(ConstantPool obj) voidVisitor.visitConstantPool(ConstantPool obj) Constructors in org.apache.bcel.classfile with parameters of type ConstantPoolModifierConstructorDescriptionAnnotationDefault(int name_index, int length, DataInputStream file, 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) Construct object from file stream.Annotations(byte annotation_type, int name_index, int length, DataInputStream file, 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) protectedAttribute(byte tag, int name_index, int length, 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) ConstantValue(int name_index, int length, int constantvalue_index, ConstantPool constant_pool) Deprecated(int name_index, int length, byte[] bytes, ConstantPool constant_pool) protectedElementValue(int type, ConstantPool cpool) ElementValuePair(int elementNameIndex, ElementValue elementValue, ConstantPool constantPool) EnclosingMethod(int nameIndex, int len, DataInputStream dis, ConstantPool cpool) EnumElementValue(int type, int typeIdx, int valueIdx, ConstantPool cpool) ExceptionTable(int name_index, int length, int[] exception_index_table, ConstantPool constant_pool) Field(int access_flags, int name_index, int signature_index, Attribute[] attributes, ConstantPool constant_pool) protectedFieldOrMethod(int access_flags, int name_index, int signature_index, Attribute[] attributes, ConstantPool constant_pool) protectedFieldOrMethod(DataInputStream file, ConstantPool constant_pool) Construct object from file 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.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) LocalVariableTable(int name_index, int length, LocalVariable[] local_variable_table, ConstantPool constant_pool) 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) 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) RuntimeVisibleAnnotations(int name_index, int length, DataInputStream file, ConstantPool constant_pool) Signature(int name_index, int length, int signature_index, ConstantPool constant_pool) SimpleElementValue(int type, int index, ConstantPool cpool) SourceFile(int name_index, int length, int sourcefile_index, ConstantPool constant_pool) StackMap(int name_index, int length, StackMapEntry[] map, ConstantPool constant_pool) StackMapEntry(int byte_code_offset, int number_of_locals, StackMapType[] types_of_locals, int number_of_stack_items, StackMapType[] types_of_stack_items, ConstantPool constant_pool) StackMapType(byte type, int index, ConstantPool constant_pool) Synthetic(int name_index, int length, byte[] bytes, ConstantPool constant_pool) Unknown(int name_index, int length, byte[] bytes, ConstantPool constant_pool) Create a non-standard attribute. -
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) 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.verifier.statics
Methods in org.apache.bcel.verifier.statics with parameters of type ConstantPool