|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.janino.util.ClassFile.MethodInfo
public class ClassFile.MethodInfo
Representation of a "method_info" structure, as defined by JVMS7 4.6.
| Constructor Summary | |
|---|---|
ClassFile.MethodInfo(Java.Modifiers modifiers,
short nameIndex,
short descriptorIndex,
List<ClassFile.AttributeInfo> attributes)
Initializes the "method_info" structure. |
|
| Method Summary | |
|---|---|
void |
addAttribute(ClassFile.AttributeInfo attribute)
Adds the given attribute to this method. |
Java.Annotation[] |
getAnnotations()
|
ClassFile.AttributeInfo[] |
getAttributes()
|
ClassFile |
getClassFile()
|
String |
getDescriptor()
|
short |
getModifierFlags()
|
String |
getName()
|
void |
store(DataOutputStream dos)
Writes this object to a DataOutputStream, in the format described inJVMS7 4.6. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassFile.MethodInfo(Java.Modifiers modifiers,
short nameIndex,
short descriptorIndex,
List<ClassFile.AttributeInfo> attributes)
| Method Detail |
|---|
public ClassFile getClassFile()
ClassFile that contains this ClassFile.MethodInfo objectpublic short getModifierFlags()
Mod.public Java.Annotation[] getAnnotations()
public String getName()
public String getDescriptor()
public ClassFile.AttributeInfo[] getAttributes()
public void addAttribute(ClassFile.AttributeInfo attribute)
attribute to this method.
public void store(DataOutputStream dos)
throws IOException
DataOutputStream, in the format described inJVMS7 4.6.
IOException
|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||