Package org.codehaus.janino.util
Class ClassFile.MethodInfo
java.lang.Object
org.codehaus.janino.util.ClassFile.MethodInfo
- Enclosing class:
- ClassFile
This class represents a "method_info" structure, as defined by the
JVM specification.
-
Constructor Summary
ConstructorsConstructorDescriptionMethodInfo
(short accessFlags, short nameIndex, short descriptorIndex, List attributes) Initialize the "method_info" structure. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttribute
(ClassFile.AttributeInfo attribute) short
short
short
void
store
(DataOutputStream dos) Write this object to aDataOutputStream
, in the format defined by the JVM specification.
-
Constructor Details
-
MethodInfo
Initialize the "method_info" structure.
-
-
Method Details
-
getClassFile
-
getAccessFlags
public short getAccessFlags() -
getNameIndex
public short getNameIndex() -
getDescriptorIndex
public short getDescriptorIndex() -
getAttributes
-
addAttribute
-
store
Write this object to aDataOutputStream
, in the format defined by the JVM specification.- Throws:
IOException
-