net.sf.rej.java.attribute
Class Attribute

java.lang.Object
  extended by net.sf.rej.java.attribute.Attribute
Direct Known Subclasses:
CodeAttribute, ConstantValueAttribute, DeprecatedAttribute, EnclosingMethodAttribute, ExceptionsAttribute, InnerClassesAttribute, LineNumberTableAttribute, LocalVariableTableAttribute, LocalVariableTypeTableAttribute, RuntimeInvisibleAnnotationsAttribute, RuntimeVisibleAnnotationsAttribute, SignatureAttribute, SourceFileAttribute, SyntheticAttribute

public class Attribute
extends java.lang.Object


Method Summary
static Attribute getAttribute(ByteParser parser, ConstantPool pool)
           
 byte[] getData()
           
 java.lang.String getName()
           
 byte[] getPayload()
           
 void setPayload(byte[] data)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getAttribute

public static Attribute getAttribute(ByteParser parser,
                                     ConstantPool pool)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getName

public java.lang.String getName()

getData

public final byte[] getData()

getPayload

public byte[] getPayload()

setPayload

public void setPayload(byte[] data)