org.apache.tools.ant.taskdefs.optional.sitraka.bytecode
Class MethodInfo

java.lang.Object
  |
  +--org.apache.tools.ant.taskdefs.optional.sitraka.bytecode.MethodInfo

public class MethodInfo
extends java.lang.Object

Method info structure.

Author:
Stephane Bailliez

Field Summary
protected  int access_flags
           
protected  Code code
           
protected  ConstantPool constantPool
           
protected  boolean deprecated
           
protected  int descriptor_index
           
protected  Exceptions exceptions
           
protected  int name_index
           
protected  boolean synthetic
           
 
Constructor Summary
MethodInfo(ConstantPool pool)
           
 
Method Summary
 java.lang.String getAccess()
           
 int getAccessFlags()
           
 Code getCode()
           
 java.lang.String getDescriptor()
           
 java.lang.String getFullSignature()
           
 java.lang.String getName()
           
 int getNumberOfLines()
           
 java.lang.String[] getParametersType()
           
 java.lang.String getReturnType()
           
 java.lang.String getShortSignature()
           
 boolean isDeprecated()
           
 boolean isSynthetic()
           
 void read(java.io.DataInputStream dis)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

constantPool

protected ConstantPool constantPool

access_flags

protected int access_flags

name_index

protected int name_index

descriptor_index

protected int descriptor_index

code

protected Code code

deprecated

protected boolean deprecated

synthetic

protected boolean synthetic

exceptions

protected Exceptions exceptions
Constructor Detail

MethodInfo

public MethodInfo(ConstantPool pool)
Method Detail

read

public void read(java.io.DataInputStream dis)
          throws java.io.IOException

getAccessFlags

public int getAccessFlags()

getName

public java.lang.String getName()

getDescriptor

public java.lang.String getDescriptor()

getFullSignature

public java.lang.String getFullSignature()

getShortSignature

public java.lang.String getShortSignature()

getReturnType

public java.lang.String getReturnType()

getParametersType

public java.lang.String[] getParametersType()

getCode

public Code getCode()

getNumberOfLines

public int getNumberOfLines()

isDeprecated

public boolean isDeprecated()

isSynthetic

public boolean isSynthetic()

getAccess

public java.lang.String getAccess()

toString

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


Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.