anvil.codec
Class Method

java.lang.Object
  |
  +--anvil.codec.Attributes
        |
        +--anvil.codec.ClassMember
              |
              +--anvil.codec.Method

public class Method
extends ClassMember


Field Summary
protected  java.lang.Object _attachment
           
protected  boolean _clinit
           
protected  Code _code
           
protected  Exceptions _exceptions
           
 
Fields inherited from class anvil.codec.ClassMember
_descriptor, _flags, _index, _name
 
Fields inherited from class anvil.codec.Attributes
_attributes, _class, _pool
 
Constructor Summary
Method(ClassRoom clazz, java.lang.String name, java.lang.String descriptor, int flags)
           
 
Method Summary
 void addCheckedException(int clazz)
           
 java.lang.Object getAttachment()
           
 Code getCode()
           
 int getIndex()
           
 boolean isClassInit()
           
 void setAttachment(java.lang.Object object)
           
 
Methods inherited from class anvil.codec.ClassMember
getDescriptor, getFlags, getName, toString, write
 
Methods inherited from class anvil.codec.Attributes
getClassRoom, getPool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_code

protected Code _code

_exceptions

protected Exceptions _exceptions

_clinit

protected boolean _clinit

_attachment

protected java.lang.Object _attachment
Constructor Detail

Method

public Method(ClassRoom clazz,
              java.lang.String name,
              java.lang.String descriptor,
              int flags)
Method Detail

getAttachment

public java.lang.Object getAttachment()

setAttachment

public void setAttachment(java.lang.Object object)

getIndex

public int getIndex()
Overrides:
getIndex in class ClassMember

getCode

public Code getCode()

isClassInit

public boolean isClassInit()

addCheckedException

public void addCheckedException(int clazz)