Uses of Class
org.apache.bcel.classfile.Attribute
Packages that use Attribute
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.
-
Uses of Attribute in org.apache.bcel.classfile
Subclasses of Attribute in org.apache.bcel.classfileModifier and TypeClassDescriptionclassrepresents the default value of a annotation for a method infoclassbase class for annotationsfinal classThis class represents a chunk of Java byte code contained in a method.final classThis class is derived from Attribute and represents a constant value, i.e., a default value for initializing a class field.final classThis class is derived from Attribute and denotes that this is a deprecated method.classThis attribute exists for local or anonymous classes and ...final classThis class represents the table of exceptions that are thrown by a method.final classThis class is derived from Attribute and denotes that this class is an Inner class of another.final classThis class represents a table of line numbers for debugging purposes.classThis class represents colection of local variables in a method.classclassbase class for parameter annotationsfinal classThis class is derived from Attribute and represents a reference to a PMG attribute.classrepresents an annotation that is represented in the class file but is not provided to the JVM.classrepresents a parameter annotation that is represented in the class file but is not provided to the JVM.classrepresents an annotation that is represented in the class file and is provided to the JVM.classrepresents a parameter annotation that is represented in the class file and is provided to the JVM.final classThis class is derived from Attribute and represents a reference to a GJ attribute.final classThis class is derived from Attribute and represents a reference to the source file of this class.final classThis class represents a stack map attribute used for preverification of Java classes for the Java 2 Micro Edition (J2ME).final classThis class is derived from Attribute and declares this class as `synthetic', i.e., it needs special handling.final classThis class represents a reference to an unknown (i.e., application-specific) attribute of a class.Fields in org.apache.bcel.classfile declared as AttributeMethods in org.apache.bcel.classfile that return AttributeModifier and TypeMethodDescriptionAnnotationDefault.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) InnerClasses.copy(ConstantPool _constant_pool) LineNumberTable.copy(ConstantPool _constant_pool) LocalVariableTable.copy(ConstantPool _constant_pool) LocalVariableTypeTable.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) 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.static Attribute[]Utility.getAnnotationAttributes(ConstantPoolGen cp, List vec) Converts a list of AnnotationGen objects into a set of attributes that can be attached to the class file.final Attribute[]Code.getAttributes()final Attribute[]FieldOrMethod.getAttributes()JavaClass.getAttributes()static Attribute[]Utility.getParameterAnnotationAttributes(ConstantPoolGen cp, List[] vec) Annotations against a class are stored in one of four attribute kinds: - RuntimeVisibleParameterAnnotations - RuntimeInvisibleParameterAnnotationsstatic final AttributeAttribute.readAttribute(DataInputStream file, ConstantPool constant_pool) Methods in org.apache.bcel.classfile with parameters of type AttributeModifier and TypeMethodDescriptionfinal voidCode.setAttributes(Attribute[] attributes) final voidFieldOrMethod.setAttributes(Attribute[] attributes) voidJavaClass.setAttributes(Attribute[] attributes) Constructors in org.apache.bcel.classfile with parameters of type AttributeModifierConstructorDescriptionCode(int name_index, int length, int max_stack, int max_locals, byte[] code, CodeException[] exception_table, Attribute[] attributes, 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) 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.Method(int access_flags, int name_index, int signature_index, Attribute[] attributes, ConstantPool constant_pool) -
Uses of Attribute in org.apache.bcel.generic
Methods in org.apache.bcel.generic that return AttributeModifier and TypeMethodDescriptionClassGen.getAttributes()FieldGenOrMethodGen.getAttributes()MethodGen.getCodeAttributes()Methods in org.apache.bcel.generic with parameters of type AttributeModifier and TypeMethodDescriptionvoidClassGen.addAttribute(Attribute a) Add an attribute to this class.voidFieldGenOrMethodGen.addAttribute(Attribute a) Add an attribute to this method.voidMethodGen.addCodeAttribute(Attribute a) Add an attribute to the code.voidClassGen.removeAttribute(Attribute a) Remove an attribute from this class.voidFieldGenOrMethodGen.removeAttribute(Attribute a) Remove an attribute.voidMethodGen.removeCodeAttribute(Attribute a) Remove a code attribute.