bcel API: Uses of Class org.apache.bcel.classfile.Attribute

Uses of Class
org.apache.bcel.classfile.Attribute

Packages that use Attribute
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. 
 

Uses of Attribute in org.apache.bcel.classfile
 

Subclasses of Attribute in org.apache.bcel.classfile
 class Code
          This class represents a chunk of Java byte code contained in a method.
 class ConstantValue
          This class is derived from Attribute and represents a constant value, i.e., a default value for initializing a class field.
 class Deprecated
          This class is derived from Attribute and denotes that this is a deprecated method.
 class ExceptionTable
          This class represents the table of exceptions that are thrown by a method.
 class InnerClasses
          This class is derived from Attribute and denotes that this class is an Inner class of another.
 class LineNumberTable
          This class represents a table of line numbers for debugging purposes.
 class LocalVariableTable
          This class represents colection of local variables in a method.
 class PMGClass
          This class is derived from Attribute and represents a reference to a PMG attribute.
 class Signature
          This class is derived from Attribute and represents a reference to a GJ attribute.
 class SourceFile
          This class is derived from Attribute and represents a reference to the source file of this class.
 class StackMap
          This class represents a stack map attribute used for preverification of Java classes for the Java 2 Micro Edition (J2ME).
 class Synthetic
          This class is derived from Attribute and declares this class as `synthetic', i.e., it needs special handling.
 class Unknown
          This class represents a reference to an unknown (i.e., application-specific) attribute of a class.
 

Fields in org.apache.bcel.classfile declared as Attribute
protected  Attribute[] FieldOrMethod.attributes
           
 

Methods in org.apache.bcel.classfile that return Attribute
abstract  Attribute Attribute.copy(ConstantPool constant_pool)
           
 Attribute ExceptionTable.copy(ConstantPool constant_pool)
           
 Attribute InnerClasses.copy(ConstantPool constant_pool)
           
 Attribute Unknown.copy(ConstantPool constant_pool)
           
 Attribute StackMap.copy(ConstantPool constant_pool)
           
 Attribute Signature.copy(ConstantPool constant_pool)
           
 Attribute[] Code.getAttributes()
           
 Attribute Code.copy(ConstantPool constant_pool)
           
 Attribute[] FieldOrMethod.getAttributes()
           
 Attribute ConstantValue.copy(ConstantPool constant_pool)
           
 Attribute[] JavaClass.getAttributes()
           
 Attribute AttributeReader.createAttribute(int name_index, int length, java.io.DataInputStream file, ConstantPool constant_pool)
           
 Attribute LocalVariableTable.copy(ConstantPool constant_pool)
           
 Attribute SourceFile.copy(ConstantPool constant_pool)
           
 Attribute PMGClass.copy(ConstantPool constant_pool)
           
 Attribute Synthetic.copy(ConstantPool constant_pool)
           
 Attribute LineNumberTable.copy(ConstantPool constant_pool)
           
 Attribute Deprecated.copy(ConstantPool constant_pool)
           
 

Methods in org.apache.bcel.classfile with parameters of type Attribute
 void Code.setAttributes(Attribute[] attributes)
           
 void FieldOrMethod.setAttributes(Attribute[] attributes)
           
 void JavaClass.setAttributes(Attribute[] attributes)
           
 

Constructors in org.apache.bcel.classfile with parameters of type Attribute
Code(int name_index, int length, int max_stack, int max_locals, byte[] code, CodeException[] exception_table, Attribute[] attributes, ConstantPool constant_pool)
           
FieldOrMethod(int access_flags, int name_index, int signature_index, Attribute[] attributes, ConstantPool constant_pool)
           
Method(int access_flags, int name_index, int signature_index, Attribute[] attributes, ConstantPool constant_pool)
           
JavaClass(int class_name_index, int superclass_name_index, java.lang.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.
JavaClass(int class_name_index, int superclass_name_index, java.lang.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.
Field(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 Attribute
 Attribute[] ClassGen.getAttributes()
           
 Attribute[] FieldGenOrMethodGen.getAttributes()
           
 Attribute[] MethodGen.getCodeAttributes()
           
 

Methods in org.apache.bcel.generic with parameters of type Attribute
 void ClassGen.addAttribute(Attribute a)
          Add an attribute to this class.
 void ClassGen.removeAttribute(Attribute a)
          Remove an attribute from this class.
 void FieldGenOrMethodGen.addAttribute(Attribute a)
          Add an attribute to this method.
 void FieldGenOrMethodGen.removeAttribute(Attribute a)
          Remove an attribute.
 void MethodGen.addCodeAttribute(Attribute a)
          Add an attribute to the code.
 void MethodGen.removeCodeAttribute(Attribute a)
          Remove a code attribute.