org.codehaus.janino.util
Class ClassFile.MethodInfo
java.lang.Object
org.codehaus.janino.util.ClassFile.MethodInfo
- Enclosing class:
- ClassFile
- public class ClassFile.MethodInfo
- extends java.lang.Object
This class represents a "method_info" structure, as defined by the
JVM specification.
Constructor Summary |
ClassFile.MethodInfo(short accessFlags,
short nameIndex,
short descriptorIndex,
java.util.List attributes)
Initialize the "method_info" structure. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassFile.MethodInfo
public ClassFile.MethodInfo(short accessFlags,
short nameIndex,
short descriptorIndex,
java.util.List attributes)
- Initialize the "method_info" structure.
getClassFile
public ClassFile getClassFile()
getAccessFlags
public short getAccessFlags()
getNameIndex
public short getNameIndex()
getDescriptorIndex
public short getDescriptorIndex()
getAttributes
public ClassFile.AttributeInfo[] getAttributes()
addAttribute
public void addAttribute(ClassFile.AttributeInfo attribute)
store
public void store(java.io.DataOutputStream dos)
throws java.io.IOException
- Write this object to a
DataOutputStream
, in the format
defined by the JVM specification.
- Throws:
java.io.IOException