net.sf.rej.java.attribute
Class EnclosingMethodAttribute

java.lang.Object
  extended by net.sf.rej.java.attribute.Attribute
      extended by net.sf.rej.java.attribute.EnclosingMethodAttribute

public class EnclosingMethodAttribute
extends Attribute


Constructor Summary
EnclosingMethodAttribute(int nameIndex, ConstantPool pool)
           
 
Method Summary
 ClassInfo getEnclosingClass()
           
 java.lang.String getEnclosingClassName()
           
 NameAndTypeInfo getEnclosingMethod()
           
 Descriptor getEnclosingMethodDesc()
           
 java.lang.String getEnclosingMethodName()
           
 byte[] getPayload()
           
 boolean hasEnclosingMethod()
           
 void setPayload(byte[] data)
           
 java.lang.String toString()
           
 
Methods inherited from class net.sf.rej.java.attribute.Attribute
getAttribute, getData, getName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnclosingMethodAttribute

public EnclosingMethodAttribute(int nameIndex,
                                ConstantPool pool)
Method Detail

setPayload

public void setPayload(byte[] data)
Overrides:
setPayload in class Attribute

getPayload

public byte[] getPayload()
Overrides:
getPayload in class Attribute

hasEnclosingMethod

public boolean hasEnclosingMethod()

getEnclosingClass

public ClassInfo getEnclosingClass()

getEnclosingMethod

public NameAndTypeInfo getEnclosingMethod()

getEnclosingClassName

public java.lang.String getEnclosingClassName()

getEnclosingMethodName

public java.lang.String getEnclosingMethodName()

getEnclosingMethodDesc

public Descriptor getEnclosingMethodDesc()

toString

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