com.gomjabbar.classes.bytecode
Class MethodInfo

java.lang.Object
  |
  +--com.gomjabbar.classes.bytecode.MethodInfo

public class MethodInfo
extends java.lang.Object


Inner Class Summary
static class MethodInfo.ExceptionInfo
           
 
Field Summary
static byte[][] allowed_flags
           
 
Constructor Summary
  MethodInfo(PseudoClassFile pcf)
           
protected MethodInfo(PseudoClassFile pcf, byte[] b, long[] start)
           
 
Method Summary
 boolean get_access_Abstract()
           
 boolean get_access_Final()
           
 boolean get_access_Native()
           
 boolean get_access_Private()
           
 boolean get_access_Protected()
           
 boolean get_access_Public()
           
 boolean get_access_Static()
           
 boolean get_access_Strict()
           
 boolean get_access_Synchronized()
           
 AccessInfo getAccess()
           
 AttributeInfo[] getAttributes()
           
 CodeInfo getCodeInfo()
           
 SignatureDescriptor getDescriptor()
           
 MethodInfo.ExceptionInfo getExceptionInfo()
          Beware that it is NOT the same inner class ExceptionInfo as in CodeInfo....
 java.lang.String getName()
           
 PseudoClassFile getParent()
           
 void set_access_Abstract(boolean set)
           
 void set_access_Final(boolean set)
           
 void set_access_Native(boolean set)
           
 void set_access_Private(boolean set)
           
 void set_access_Protected(boolean set)
           
 void set_access_Public(boolean set)
           
 void set_access_Static(boolean set)
           
 void set_access_Strict(boolean set)
           
 void set_access_Synchronized(boolean set)
           
 void setExceptions(byte[] attribute_type_index, byte[][] class_indexes)
           
 void setName(byte[] nameIndex)
           
 byte[] setSignature(byte[] descriptor_index)
           
 byte[] toBytes()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

allowed_flags

public static final byte[][] allowed_flags
Constructor Detail

MethodInfo

public MethodInfo(PseudoClassFile pcf)

MethodInfo

protected MethodInfo(PseudoClassFile pcf,
                     byte[] b,
                     long[] start)
Method Detail

getAccess

public AccessInfo getAccess()

getParent

public PseudoClassFile getParent()

setName

public void setName(byte[] nameIndex)

getName

public java.lang.String getName()

setSignature

public byte[] setSignature(byte[] descriptor_index)

getDescriptor

public SignatureDescriptor getDescriptor()

set_access_Public

public void set_access_Public(boolean set)

set_access_Private

public void set_access_Private(boolean set)

set_access_Protected

public void set_access_Protected(boolean set)

set_access_Static

public void set_access_Static(boolean set)

set_access_Final

public void set_access_Final(boolean set)

set_access_Synchronized

public void set_access_Synchronized(boolean set)

set_access_Native

public void set_access_Native(boolean set)

set_access_Abstract

public void set_access_Abstract(boolean set)

set_access_Strict

public void set_access_Strict(boolean set)

get_access_Public

public boolean get_access_Public()

get_access_Private

public boolean get_access_Private()

get_access_Protected

public boolean get_access_Protected()

get_access_Static

public boolean get_access_Static()

get_access_Final

public boolean get_access_Final()

get_access_Synchronized

public boolean get_access_Synchronized()

get_access_Native

public boolean get_access_Native()

get_access_Abstract

public boolean get_access_Abstract()

get_access_Strict

public boolean get_access_Strict()

getAttributes

public AttributeInfo[] getAttributes()

toBytes

public byte[] toBytes()

setExceptions

public void setExceptions(byte[] attribute_type_index,
                          byte[][] class_indexes)

toString

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

getCodeInfo

public CodeInfo getCodeInfo()

getExceptionInfo

public MethodInfo.ExceptionInfo getExceptionInfo()
Beware that it is NOT the same inner class ExceptionInfo as in CodeInfo....