Verwendungen von Klasse
org.aspectj.apache.bcel.classfile.ConstantPool
Packages, die ConstantPool verwenden
Package
Beschreibung
-
Verwendungen von ConstantPool in org.aspectj.apache.bcel.classfile
Felder in org.aspectj.apache.bcel.classfile, die deklariert sind als ConstantPoolModifizierer und TypFeldBeschreibungprotected ConstantPoolAttribute.cpoolprotected ConstantPoolFieldOrMethod.cpoolMethoden in org.aspectj.apache.bcel.classfile, die ConstantPool zurückgebenModifizierer und TypMethodeBeschreibungConstantPool.copy()final ConstantPoolAttribute.getConstantPool()final ConstantPoolFieldOrMethod.getConstantPool()JavaClass.getConstantPool()final ConstantPoolLocalVariable.getConstantPool()final ConstantPoolStackMapEntry.getConstantPool()final ConstantPoolStackMapType.getConstantPool()ConstantPool.getFinalConstantPool()Methoden in org.aspectj.apache.bcel.classfile mit Parametern vom Typ ConstantPoolModifizierer und TypMethodeBeschreibungintConstantPool.addConstant(Constant c, ConstantPool cp) static final StringUtility.codeToString(byte[] code, ConstantPool constant_pool, int index, int length) Disassemble a stream of byte codes and return the string representation.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) EnclosingMethod.copy(ConstantPool constant_pool) static Collection<RuntimeAnnos>Utility.getAnnotationAttributes(ConstantPool cp, List<AnnotationGen> annotations) Converts a list of AnnotationGen objects into a set of attributes that can be attached to the class file.ConstantCP.getClass(ConstantPool cp) ConstantClass.getClassname(ConstantPool cpool) ConstantObject.getConstantValue(ConstantPool cp) ConstantModule.getModuleName(ConstantPool cpool) final StringConstantNameAndType.getName(ConstantPool cp) ConstantPackage.getPackageName(ConstantPool cpool) static Attribute[]Utility.getParameterAnnotationAttributes(ConstantPool cp, List<AnnotationGen>[] vec) Annotations against a class are stored in one of four attribute kinds: - RuntimeVisibleParameterAnnotations - RuntimeInvisibleParameterAnnotationsfinal StringConstantNameAndType.getSignature(ConstantPool cp) ConstantString.getString(ConstantPool cpool) static final AttributeAttribute.readAttribute(DataInputStream file, ConstantPool cpool) static Attribute[]AttributeUtils.readAttributes(DataInputStream dataInputstream, ConstantPool cpool) 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) voidClassVisitor.visitConstantPool(ConstantPool obj) Konstruktoren in org.aspectj.apache.bcel.classfile mit Parametern vom Typ ConstantPoolModifiziererKonstruktorBeschreibungAnnotationDefault(int nameIndex, int len, DataInputStream dis, ConstantPool cpool) protectedAttribute(byte tag, int nameIndex, int length, ConstantPool cpool) BootstrapMethods(int nameIndex, int length, BootstrapMethods.BootstrapMethod[] lineNumberTable, ConstantPool constantPool) 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) EnclosingMethod(int nameIndex, int len, DataInputStream dis, ConstantPool cpool) ExceptionTable(int name_index, int length, int[] exception_index_table, ConstantPool constant_pool) Field(int modifiers, int nameIndex, int signatureIndex, Attribute[] attributes, ConstantPool cpool) protectedFieldOrMethod(int accessFlags, int nameIndex, int signatureIndex, Attribute[] attributes, ConstantPool cpool) protectedFieldOrMethod(DataInputStream file, ConstantPool cpool) InnerClasses(int name_index, int length, InnerClass[] inner_classes, ConstantPool constant_pool) JavaClass(int classnameIndex, int superclassnameIndex, String filename, int major, int minor, int access_flags, ConstantPool cpool, int[] interfaces, Field[] fields, Method[] methods, Attribute[] attributes) LineNumberTable(int nameIndex, int length, LineNumber[] lineNumberTable, ConstantPool constantPool) 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) MethodParameters(int index, int length, DataInputStream dis, ConstantPool cpool) Module(int nameIndex, int length, byte[] data, ConstantPool cp) ModuleMainClass(int nameIndex, int length, int mainClassIndex, ConstantPool cp) ModulePackages(int nameIndex, int length, int[] packageIndices, ConstantPool cp) NestHost(int nameIndex, int length, int hostClassIndex, ConstantPool cp) NestMembers(int nameIndex, int length, int[] classes, ConstantPool cp) Signature(int name_index, int length, int signature_index, ConstantPool constant_pool) 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. -
Verwendungen von ConstantPool in org.aspectj.apache.bcel.classfile.annotation
Felder in org.aspectj.apache.bcel.classfile.annotation, die deklariert sind als ConstantPoolMethoden in org.aspectj.apache.bcel.classfile.annotation, die ConstantPool zurückgebenMethoden in org.aspectj.apache.bcel.classfile.annotation mit Parametern vom Typ ConstantPoolModifizierer und TypMethodeBeschreibungstatic ElementValueElementValue.copy(ElementValue value, ConstantPool cpool, boolean copyPoolEntries) Creates an (modifiable) ElementValueGen copy of an (immutable) ElementValue - constant pool is assumed correct.RuntimeInvisAnnos.copy(ConstantPool constant_pool) RuntimeInvisParamAnnos.copy(ConstantPool constant_pool) RuntimeParamAnnos.copy(ConstantPool constant_pool) RuntimeTypeAnnos.copy(ConstantPool constant_pool) RuntimeVisAnnos.copy(ConstantPool constant_pool) RuntimeVisParamAnnos.copy(ConstantPool constant_pool) static AnnotationGenAnnotationGen.read(DataInputStream dis, ConstantPool cpool, boolean b) static TypeAnnotationGenTypeAnnotationGen.read(DataInputStream dis, ConstantPool cpool, boolean isVisible) protected voidRuntimeAnnos.readAnnotations(DataInputStream dis, ConstantPool cpool) static ElementValueElementValue.readElementValue(DataInputStream dis, ConstantPool cpGen) protected voidRuntimeParamAnnos.readParameterAnnotations(DataInputStream dis, ConstantPool cpool) protected voidRuntimeTypeAnnos.readTypeAnnotations(DataInputStream dis, ConstantPool cpool) Konstruktoren in org.aspectj.apache.bcel.classfile.annotation mit Parametern vom Typ ConstantPoolModifiziererKonstruktorBeschreibungAnnotationElementValue(int type, AnnotationGen annotation, ConstantPool cpool) AnnotationElementValue(AnnotationElementValue value, ConstantPool cpool, boolean copyPoolEntries) AnnotationElementValue(AnnotationGen a, ConstantPool cpool) AnnotationGen(AnnotationGen a, ConstantPool cpool, boolean copyPoolEntries) AnnotationGen(ObjectType type, List<NameValuePair> pairs, boolean runtimeVisible, ConstantPool cpool) Retrieve an immutable version of this AnnotationGenArrayElementValue(int type, ElementValue[] datums, ConstantPool cpool) ArrayElementValue(ArrayElementValue value, ConstantPool cpool, boolean copyPoolEntries) protectedClassElementValue(int typeIdx, ConstantPool cpool) ClassElementValue(ClassElementValue value, ConstantPool cpool, boolean copyPoolEntries) Return immutable variant of this ClassElementValueGenClassElementValue(ObjectType t, ConstantPool cpool) protectedElementValue(int type, ConstantPool cpool) protectedEnumElementValue(int typeIdx, int valueIdx, ConstantPool cpool) This ctor assumes the constant pool already contains the right type and value - as indicated by typeIdx and valueIdx.EnumElementValue(EnumElementValue value, ConstantPool cpool, boolean copyPoolEntries) EnumElementValue(ObjectType t, String value, ConstantPool cpool) protectedNameValuePair(int idx, ElementValue value, ConstantPool cpool) NameValuePair(String name, ElementValue value, ConstantPool cpool) NameValuePair(NameValuePair pair, ConstantPool cpool, boolean copyPoolEntries) RuntimeAnnos(byte attrid, boolean visible, int nameIdx, int len, byte[] data, ConstantPool cpool) RuntimeAnnos(byte attrid, boolean visible, int nameIdx, int len, ConstantPool cpool) RuntimeInvisAnnos(int nameIndex, int len, byte[] rvaData, ConstantPool cpool) RuntimeInvisAnnos(int nameIdx, int len, DataInputStream dis, ConstantPool cpool) RuntimeInvisAnnos(int nameIdx, int len, ConstantPool cpool) RuntimeInvisParamAnnos(int nameIndex, int len, byte[] rvaData, ConstantPool cpool) RuntimeInvisParamAnnos(int nameIdx, int len, DataInputStream dis, ConstantPool cpool) RuntimeInvisParamAnnos(int nameIdx, int len, ConstantPool cpool) RuntimeInvisTypeAnnos(int nameIdx, int len, DataInputStream dis, ConstantPool cpool) RuntimeInvisTypeAnnos(int nameIdx, int len, ConstantPool cpool) RuntimeParamAnnos(byte attrid, boolean visible, int nameIdx, int len, byte[] data, ConstantPool cpool) RuntimeParamAnnos(byte attrid, boolean visible, int nameIdx, int len, ConstantPool cpool) RuntimeTypeAnnos(byte attrid, boolean visible, int nameIdx, int len, ConstantPool cpool) RuntimeVisAnnos(int nameIndex, int len, byte[] rvaData, ConstantPool cpool) RuntimeVisAnnos(int nameIdx, int len, DataInputStream dis, ConstantPool cpool) RuntimeVisAnnos(int nameIdx, int len, ConstantPool cpool) RuntimeVisParamAnnos(int nameIndex, int len, byte[] rvaData, ConstantPool cpool) RuntimeVisParamAnnos(int nameIdx, int len, DataInputStream dis, ConstantPool cpool) RuntimeVisParamAnnos(int nameIdx, int len, ConstantPool cpool) RuntimeVisTypeAnnos(int nameIdx, int len, DataInputStream dis, ConstantPool cpool) RuntimeVisTypeAnnos(int nameIdx, int len, ConstantPool cpool) protectedSimpleElementValue(int type, int idx, ConstantPool cpGen) Protected ctor used for deserialization, doesn't *put* an entry in the constant pool, assumes the one at the supplied index is correct.SimpleElementValue(int type, ConstantPool cpGen, boolean value) SimpleElementValue(int type, ConstantPool cpGen, byte value) SimpleElementValue(int type, ConstantPool cpGen, char value) SimpleElementValue(int type, ConstantPool cpGen, double value) SimpleElementValue(int type, ConstantPool cpGen, float value) SimpleElementValue(int type, ConstantPool cpGen, int value) SimpleElementValue(int type, ConstantPool cpGen, long value) SimpleElementValue(int type, ConstantPool cpGen, short value) SimpleElementValue(int type, ConstantPool cpGen, String value) SimpleElementValue(SimpleElementValue value, ConstantPool cpool, boolean copyPoolEntries) The boolean controls whether we copy info from the 'old' constant pool to the 'new'. -
Verwendungen von ConstantPool in org.aspectj.apache.bcel.generic
Felder in org.aspectj.apache.bcel.generic, die deklariert sind als ConstantPoolModifizierer und TypFeldBeschreibungprotected ConstantPoolFieldGenOrMethodGen.cpprotected ConstantPoolInstructionFactory.cpMethoden in org.aspectj.apache.bcel.generic, die ConstantPool zurückgebenModifizierer und TypMethodeBeschreibungClassGen.getConstantPool()FieldGenOrMethodGen.getConstantPool()InstructionFactory.getConstantPool()Methoden in org.aspectj.apache.bcel.generic mit Parametern vom Typ ConstantPoolModifizierer und TypMethodeBeschreibungprotected voidFieldGenOrMethodGen.addAnnotationsAsAttribute(ConstantPool cp) voidMethodGen.addParameterAnnotationsAsAttribute(ConstantPool cp) intFieldInstruction.consumeStack(ConstantPool cpg) intInstruction.consumeStack(ConstantPool cpg) intInvokeInstruction.consumeStack(ConstantPool cpg) Also works for instructions whose stack effect depends on the constant pool entry they reference.intINVOKEINTERFACE.consumeStack(ConstantPool cpg) intMULTIANEWARRAY.consumeStack(ConstantPool cpg) Also works for instructions whose stack effect depends on the constant pool entry they reference.Type[]InvokeDynamic.getArgumentTypes(ConstantPool cp) Type[]InvokeInstruction.getArgumentTypes(ConstantPool cpg) FieldOrMethod.getClassName(ConstantPool cp) InvokeDynamic.getClassName(ConstantPool cp) FieldOrMethod.getClassType(ConstantPool cpg) CodeExceptionGen.getCodeException(ConstantPool cp) Get CodeException object.
This relies on that the instruction list has already been dumped to byte code or or that the `setPositions' methods has been called for the instruction list.FieldInstruction.getFieldName(ConstantPool cpg) protected intFieldInstruction.getFieldSize(ConstantPool cpg) FieldInstruction.getFieldType(ConstantPool cpg) MethodGen.getLineNumberTable(ConstantPool cp) FieldOrMethod.getLoadClassType(ConstantPool cpg) Instruction.getLoadClassType(ConstantPool cpg) MULTIANEWARRAY.getLoadClassType(ConstantPool cpg) LocalVariableGen.getLocalVariable(ConstantPool cp) Get LocalVariable object.MethodGen.getLocalVariableTable(ConstantPool cp) static intMethodGen.getMaxStack(ConstantPool cp, InstructionList il, CodeExceptionGen[] et) Computes stack usage of an instruction list by performing control flow analysis.InvokeInstruction.getMethodName(ConstantPool cpg) FieldOrMethod.getName(ConstantPool cp) InvokeDynamic.getName(ConstantPool cp) InvokeDynamic.getReturnType(ConstantPool cp) InvokeInstruction.getReturnType(ConstantPool cpg) FieldOrMethod.getSignature(ConstantPool cp) InvokeDynamic.getSignature(ConstantPool cp) FieldInstruction.getType(ConstantPool cpg) Instruction.getType(ConstantPool cp) InstructionBranch.getType(ConstantPool cp) InstructionCP.getType(ConstantPool cpg) InvokeInstruction.getType(ConstantPool cpg) RET.getType(ConstantPool cp) Instruction.getValue(ConstantPool cpg) InstructionCP.getValue(ConstantPool constantPool) intFieldInstruction.produceStack(ConstantPool cpg) intInstruction.produceStack(ConstantPool cpg) intInvokeInstruction.produceStack(ConstantPool cpg) Also works for instructions whose stack effect depends on the constant pool entry they reference.static InstructionInstructionFactory.PUSH(ConstantPool cp, boolean value) static InstructionInstructionFactory.PUSH(ConstantPool cp, double value) static InstructionInstructionFactory.PUSH(ConstantPool cp, float value) static InstructionInstructionFactory.PUSH(ConstantPool cp, int value) Returns the right instruction for putting whatever you want onto the stackstatic InstructionInstructionFactory.PUSH(ConstantPool cp, long value) static InstructionInstructionFactory.PUSH(ConstantPool cp, Boolean value) static InstructionInstructionFactory.PUSH(ConstantPool cp, Character value) static InstructionInstructionFactory.PUSH(ConstantPool cp, Number value) static InstructionInstructionFactory.PUSH(ConstantPool cp, String value) static InstructionInstructionFactory.PUSH(ConstantPool cp, ObjectType t) InstructionFactory.PUSHCLASS(ConstantPool cp, String className) Return a list that will load the Class object - on 1.5 or later use the class variant of ldc, whilst on earlier JVMs use the regular Class.forName.voidInstructionList.replaceConstantPool(ConstantPool old_cp, ConstantPool new_cp) Replace all references to the old constant pool with references to the new constant poolvoidClassGen.setConstantPool(ConstantPool constant_pool) voidFieldGenOrMethodGen.setConstantPool(ConstantPool cp) voidInstructionFactory.setConstantPool(ConstantPool c) FieldInstruction.toString(ConstantPool cp) InstructionCP.toString(ConstantPool cp) InvokeDynamic.toString(ConstantPool cp) InvokeInstruction.toString(ConstantPool cp) INVOKEINTERFACE.toString(ConstantPool cp) MULTIANEWARRAY.toString(ConstantPool cp) Konstruktoren in org.aspectj.apache.bcel.generic mit Parametern vom Typ ConstantPoolModifiziererKonstruktorBeschreibungClassGen(String classname, String superclassname, String filename, int modifiers, String[] interfacenames, ConstantPool cpool) FieldGen(int modifiers, Type type, String name, ConstantPool cpool) Declare a field.FieldGen(Field field, ConstantPool cp) Instantiate from existing field.InstructionFactory(ClassGen cg, ConstantPool cp) MethodGen(int access_flags, Type return_type, Type[] arg_types, String[] arg_names, String method_name, String class_name, InstructionList il, ConstantPool cp) Declare method.MethodGen(Method m, String class_name, ConstantPool cp) Instantiate from existing method.MethodGen(Method m, String class_name, ConstantPool cp, boolean useTags) -
Verwendungen von ConstantPool in org.aspectj.weaver.bcel
Methoden in org.aspectj.weaver.bcel, die ConstantPool zurückgebenModifizierer und TypMethodeBeschreibungLazyClassGen.getConstantPool()LazyMethodGen.getConstantPool()Methoden in org.aspectj.weaver.bcel mit Parametern vom Typ ConstantPoolModifizierer und TypMethodeBeschreibungstatic AttributeUtility.bcelAttribute(AjAttribute a, ConstantPool pool) Konstruktoren in org.aspectj.weaver.bcel mit Parametern vom Typ ConstantPool