org.eclipse.jdt.internal.core.util
Class MethodInfo

java.lang.Object
  extended by org.eclipse.jdt.internal.core.util.ClassFileStruct
      extended by org.eclipse.jdt.internal.core.util.MethodInfo

public class MethodInfo
extends ClassFileStruct

Default implementation of IMethodInfo.


Constructor Summary
MethodInfo(byte[] classFileBytes, IConstantPool constantPool, int offset, int decodingFlags)
           
 
Method Summary
 int getAccessFlags()
           
 int getAttributeCount()
           
 IClassFileAttribute[] getAttributes()
           
 ICodeAttribute getCodeAttribute()
           
 char[] getDescriptor()
           
 int getDescriptorIndex()
           
 IExceptionAttribute getExceptionAttribute()
           
 char[] getName()
           
 int getNameIndex()
           
 boolean isClinit()
           
 boolean isConstructor()
           
 boolean isDeprecated()
           
 boolean isSynthetic()
           
 
Methods inherited from class org.eclipse.jdt.internal.core.util.ClassFileStruct
doubleAt, floatAt, i1At, i2At, i4At, i8At, u1At, u2At, u4At, utf8At
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodInfo

public MethodInfo(byte[] classFileBytes,
                  IConstantPool constantPool,
                  int offset,
                  int decodingFlags)
           throws ClassFormatException
Parameters:
classFileBytes - byte[]
constantPool - IConstantPool
offset - int
decodingFlags - int
Throws:
ClassFormatException
Method Detail

getAccessFlags

public int getAccessFlags()
See Also:
IMethodInfo#getAccessFlags()

getAttributeCount

public int getAttributeCount()
See Also:
IMethodInfo#getAttributeCount()

getAttributes

public IClassFileAttribute[] getAttributes()
See Also:
IMethodInfo#getAttributes()

getCodeAttribute

public ICodeAttribute getCodeAttribute()
See Also:
IMethodInfo#getCodeAttribute()

getDescriptor

public char[] getDescriptor()
See Also:
IMethodInfo#getDescriptor()

getDescriptorIndex

public int getDescriptorIndex()
See Also:
IMethodInfo#getDescriptorIndex()

getExceptionAttribute

public IExceptionAttribute getExceptionAttribute()
See Also:
IMethodInfo#getExceptionAttribute()

getName

public char[] getName()
See Also:
IMethodInfo#getName()

getNameIndex

public int getNameIndex()
See Also:
IMethodInfo#getNameIndex()

isClinit

public boolean isClinit()
See Also:
IMethodInfo#isClinit()

isConstructor

public boolean isConstructor()
See Also:
IMethodInfo#isConstructor()

isDeprecated

public boolean isDeprecated()
See Also:
IMethodInfo#isDeprecated()

isSynthetic

public boolean isSynthetic()
See Also:
IMethodInfo#isSynthetic()