org.eclipse.jdt.internal.core.util
Class MethodInfo
java.lang.Object
org.eclipse.jdt.internal.core.util.ClassFileStruct
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodInfo
public MethodInfo(byte[] classFileBytes,
IConstantPool constantPool,
int offset,
int decodingFlags)
throws ClassFormatException
- Parameters:
classFileBytes - byte[]constantPool - IConstantPooloffset - intdecodingFlags - int
- Throws:
ClassFormatException
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()