net.janino
Class ClassFile.MethodInfo

java.lang.Object
  |
  +--net.janino.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, java.lang.String name, java.lang.String descriptor)
          Initialize the "method_info" structure.
 
Method Summary
 ClassFile.CodeAttribute getCodeAttribute()
          Create the "Code" attribute, if it does not yet exist.
 void store(java.io.DataOutputStream dos)
          Write this object to a DataOutputStream, in the format defined by the JVM specification.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassFile.MethodInfo

public ClassFile.MethodInfo(short accessFlags,
                            java.lang.String name,
                            java.lang.String descriptor)
Initialize the "method_info" structure.
Method Detail

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.

getCodeAttribute

public ClassFile.CodeAttribute getCodeAttribute()
Create the "Code" attribute, if it does not yet exist.