public class ClassFile.MethodInfo
extends java.lang.Object
| Constructor and Description |
|---|
MethodInfo(short accessFlags,
short nameIndex,
short descriptorIndex,
java.util.List attributes)
Initialize the "method_info" structure.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(ClassFile.AttributeInfo attribute) |
short |
getAccessFlags() |
ClassFile.AttributeInfo[] |
getAttributes() |
ClassFile |
getClassFile() |
short |
getDescriptorIndex() |
short |
getNameIndex() |
void |
store(java.io.DataOutputStream dos)
Write this object to a
DataOutputStream, in the format
defined by the JVM specification. |
public MethodInfo(short accessFlags,
short nameIndex,
short descriptorIndex,
java.util.List attributes)
public ClassFile getClassFile()
public short getAccessFlags()
public short getNameIndex()
public short getDescriptorIndex()
public ClassFile.AttributeInfo[] getAttributes()
public void addAttribute(ClassFile.AttributeInfo attribute)
public void store(java.io.DataOutputStream dos)
throws java.io.IOException
DataOutputStream, in the format
defined by the JVM specification.java.io.IOException