Uses of Class
org.apache.bcel.classfile.ConstantPool
-
Packages that use ConstantPool Package Description org.apache.bcel.classfile This package contains the classes that describe the structure of a Java class file and a class file parser.org.apache.bcel.generic This package contains the "generic" part of the Byte Code Engineering Library, i.e., classes to dynamically modify class objects and byte code instructions.org.apache.bcel.verifier.statics Provides PassVerifier classes used internally by JustIce. -
-
Uses of ConstantPool in org.apache.bcel.classfile
Fields in org.apache.bcel.classfile declared as ConstantPool Modifier and Type Field Description protected ConstantPoolAttribute. constant_poolDeprecated.(since 6.0) will be made private; do not access directly, use getter/setterprotected ConstantPoolFieldOrMethod. constant_poolDeprecated.(since 6.0) will be made private; do not access directly, use getter/setterprotected ConstantPoolElementValue. cpoolDeprecated.(since 6.0) will be made private and final; do not access directly, use getterMethods in org.apache.bcel.classfile that return ConstantPool Modifier and Type Method Description ConstantPoolConstantPool. copy()ConstantPoolAnnotationEntry. getConstantPool()ConstantPoolAttribute. getConstantPool()ConstantPoolFieldOrMethod. getConstantPool()ConstantPoolJavaClass. getConstantPool()ConstantPoolLocalVariable. getConstantPool()ConstantPoolStackMapEntry. getConstantPool()ConstantPoolStackMapType. getConstantPool()Methods in org.apache.bcel.classfile with parameters of type ConstantPool Modifier and Type Method Description static java.lang.StringUtility. codeToString(byte[] code, ConstantPool constant_pool, int index, int length)static java.lang.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 java.lang.StringUtility. codeToString(ByteSequence bytes, ConstantPool constant_pool)static java.lang.StringUtility. codeToString(ByteSequence bytes, ConstantPool constant_pool, boolean verbose)Disassemble a stream of byte codes and return the string representation.AttributeAnnotationDefault. copy(ConstantPool _constant_pool)abstract AttributeAttribute. copy(ConstantPool _constant_pool)BootstrapMethodsBootstrapMethods. copy(ConstantPool _constant_pool)AttributeCode. copy(ConstantPool _constant_pool)AttributeConstantValue. copy(ConstantPool _constant_pool)AttributeDeprecated. copy(ConstantPool _constant_pool)AttributeEnclosingMethod. copy(ConstantPool constant_pool)AttributeExceptionTable. copy(ConstantPool _constant_pool)FieldField. copy(ConstantPool _constant_pool)AttributeInnerClasses. copy(ConstantPool _constant_pool)AttributeLineNumberTable. copy(ConstantPool _constant_pool)AttributeLocalVariableTable. copy(ConstantPool _constant_pool)AttributeLocalVariableTypeTable. copy(ConstantPool constant_pool)MethodMethod. copy(ConstantPool _constant_pool)AttributeMethodParameters. copy(ConstantPool _constant_pool)AttributeModule. copy(ConstantPool _constant_pool)AttributeModuleMainClass. copy(ConstantPool _constant_pool)AttributeModulePackages. copy(ConstantPool _constant_pool)AttributeNestHost. copy(ConstantPool _constant_pool)AttributeNestMembers. copy(ConstantPool _constant_pool)AttributeParameterAnnotations. copy(ConstantPool constant_pool)AttributePMGClass. copy(ConstantPool _constant_pool)AttributeRuntimeInvisibleAnnotations. copy(ConstantPool constant_pool)AttributeRuntimeVisibleAnnotations. copy(ConstantPool constant_pool)AttributeSignature. copy(ConstantPool _constant_pool)AttributeSourceFile. copy(ConstantPool _constant_pool)AttributeStackMap. copy(ConstantPool _constant_pool)AttributeSynthetic. copy(ConstantPool _constant_pool)AttributeUnknown. copy(ConstantPool _constant_pool)protected FieldOrMethodFieldOrMethod. copy_(ConstantPool _constant_pool)AttributeAttributeReader. createAttribute(int name_index, int length, java.io.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.AttributeUnknownAttributeReader. createAttribute(int name_index, int length, java.io.DataInput file, ConstantPool constant_pool)When this attribute reader is added via the static method Attribute.addAttributeReader, an attribute name is associated with it.java.lang.StringConstantClass. getBytes(ConstantPool cp)java.lang.StringConstantModule. getBytes(ConstantPool cp)java.lang.StringConstantPackage. getBytes(ConstantPool cp)java.lang.StringConstantString. getBytes(ConstantPool cp)java.lang.StringConstantCP. getClass(ConstantPool cp)java.lang.ObjectConstantClass. getConstantValue(ConstantPool cp)java.lang.ObjectConstantDouble. getConstantValue(ConstantPool cp)java.lang.ObjectConstantFloat. getConstantValue(ConstantPool cp)java.lang.ObjectConstantInteger. getConstantValue(ConstantPool cp)java.lang.ObjectConstantLong. getConstantValue(ConstantPool cp)java.lang.ObjectConstantModule. getConstantValue(ConstantPool cp)java.lang.ObjectConstantObject. getConstantValue(ConstantPool cp)java.lang.ObjectConstantPackage. getConstantValue(ConstantPool cp)java.lang.ObjectConstantString. getConstantValue(ConstantPool cp)java.lang.StringConstantNameAndType. getName(ConstantPool cp)java.lang.StringMethodParameter. getParameterName(ConstantPool constant_pool)Returns the name of the parameter.java.lang.StringConstantNameAndType. getSignature(ConstantPool cp)static AnnotationEntryAnnotationEntry. read(java.io.DataInput input, ConstantPool constant_pool, boolean isRuntimeVisible)static AttributeAttribute. readAttribute(java.io.DataInput file, ConstantPool constant_pool)Class method reads one attribute from the input data stream.static AttributeAttribute. readAttribute(java.io.DataInputStream file, ConstantPool constant_pool)Class method reads one attribute from the input data stream.static ElementValueElementValue. readElementValue(java.io.DataInput input, ConstantPool cpool)voidAttribute. setConstantPool(ConstantPool constant_pool)voidFieldOrMethod. setConstantPool(ConstantPool constant_pool)voidJavaClass. setConstantPool(ConstantPool constantPool)voidLocalVariable. setConstantPool(ConstantPool constantPool)voidStackMapEntry. setConstantPool(ConstantPool constantPool)voidStackMapType. setConstantPool(ConstantPool constantPool)java.lang.StringBootstrapMethod. toString(ConstantPool constantPool)java.lang.StringCodeException. toString(ConstantPool cp)java.lang.StringCodeException. toString(ConstantPool cp, boolean verbose)java.lang.StringInnerClass. toString(ConstantPool constantPool)java.lang.StringModuleExports. toString(ConstantPool constant_pool)java.lang.StringModuleOpens. toString(ConstantPool constant_pool)java.lang.StringModuleProvides. toString(ConstantPool constant_pool)java.lang.StringModuleRequires. 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 ConstantPool Constructor Description 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)Annotations(byte annotationType, int nameIndex, int length, AnnotationEntry[] annotationTable, ConstantPool constantPool, boolean isRuntimeVisible)ArrayElementValue(int type, ElementValue[] datums, ConstantPool cpool)Attribute(byte tag, int name_index, int length, ConstantPool constant_pool)BootstrapMethods(int name_index, int length, BootstrapMethod[] bootstrapMethods, ConstantPool constant_pool)ClassElementValue(int type, int idx, ConstantPool cpool)Code(int name_index, int length, int maxStack, int maxLocals, byte[] code, CodeException[] exceptionTable, Attribute[] attributes, ConstantPool constant_pool)ConstantValue(int name_index, int length, int constantValueIndex, ConstantPool constant_pool)Deprecated(int name_index, int length, byte[] bytes, ConstantPool constant_pool)ElementValue(int type, ConstantPool cpool)ElementValuePair(int elementNameIndex, ElementValue elementValue, ConstantPool constantPool)EnumElementValue(int type, int typeIdx, int valueIdx, ConstantPool cpool)ExceptionTable(int name_index, int length, int[] exceptionIndexTable, ConstantPool constant_pool)Field(int access_flags, int name_index, int signature_index, Attribute[] attributes, ConstantPool constant_pool)FieldOrMethod(int access_flags, int name_index, int signature_index, Attribute[] attributes, ConstantPool constant_pool)FieldOrMethod(java.io.DataInput file, ConstantPool constant_pool)Construct object from file stream.FieldOrMethod(java.io.DataInputStream file, ConstantPool constant_pool)Deprecated.(6.0) UseFieldOrMethod(java.io.DataInput, ConstantPool)instead.InnerClasses(int name_index, int length, InnerClass[] innerClasses, ConstantPool constant_pool)JavaClass(int classNameIndex, int superclassNameIndex, java.lang.String fileName, int major, int minor, int access_flags, ConstantPool constantPool, int[] interfaces, Field[] fields, Method[] methods, Attribute[] attributes)Constructor gets all contents as arguments.JavaClass(int classNameIndex, int superclassNameIndex, java.lang.String fileName, int major, int minor, int access_flags, ConstantPool constantPool, 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 startPc, int length, int nameIndex, int signatureIndex, int index, ConstantPool constantPool)LocalVariable(int startPc, int length, int nameIndex, int signatureIndex, int index, ConstantPool constantPool, int origIndex)LocalVariableTable(int nameIndex, int length, LocalVariable[] localVariableTable, ConstantPool constantPool)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)ModuleMainClass(int name_index, int length, int mainClassIndex, ConstantPool constantPool)ModulePackages(int nameIndex, int length, int[] packageIndexTable, ConstantPool constantPool)NestHost(int nameIndex, int length, int hostClassIndex, ConstantPool constantPool)NestMembers(int name_index, int length, int[] classes, ConstantPool constant_pool)ParameterAnnotations(byte parameterAnnotationType, int nameIndex, int length, ParameterAnnotationEntry[] parameterAnnotationTable, ConstantPool constantPool)PMGClass(int name_index, int length, int pmgIndex, int pmgClassIndex, ConstantPool constantPool)RuntimeInvisibleAnnotations(int name_index, int length, java.io.DataInput input, ConstantPool constant_pool)RuntimeInvisibleParameterAnnotations(int name_index, int length, java.io.DataInput input, ConstantPool constant_pool)RuntimeVisibleAnnotations(int name_index, int length, java.io.DataInput input, ConstantPool constant_pool)RuntimeVisibleParameterAnnotations(int name_index, int length, java.io.DataInput input, ConstantPool constant_pool)Signature(int name_index, int length, int signatureIndex, ConstantPool constant_pool)SimpleElementValue(int type, int index, ConstantPool cpool)SourceFile(int name_index, int length, int sourceFileIndex, ConstantPool constantPool)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 instanceStackMapType(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 ConstantPool Modifier and Type Method Description ConstantPoolConstantPoolGen. getConstantPool()ConstantPoolConstantPoolGen. getFinalConstantPool()Methods in org.apache.bcel.generic with parameters of type ConstantPool Modifier and Type Method Description java.lang.StringCPInstruction. toString(ConstantPool cp)java.lang.StringFieldInstruction. toString(ConstantPool cp)java.lang.StringInstruction. toString(ConstantPool cp)java.lang.StringINVOKEDYNAMIC. toString(ConstantPool cp)java.lang.StringInvokeInstruction. toString(ConstantPool cp)java.lang.StringINVOKEINTERFACE. toString(ConstantPool cp)java.lang.StringMULTIANEWARRAY. toString(ConstantPool cp)Constructors in org.apache.bcel.generic with parameters of type ConstantPool Constructor Description ConstantPoolGen(ConstantPool cp)Initialize 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 Modifier and Type Method Description voidStringRepresentation. visitConstantPool(ConstantPool obj)
-