|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.toplink.libraries.asm.tree.MethodNode
public class MethodNode
A node that represents a method.
| Field Summary | |
|---|---|
int |
accessThe method's access flags (see Constants). |
Attribute |
attrsThe non standard attributes of the method. |
Attribute |
codeAttrsThe non standard attributes of the method's code. |
java.lang.String |
descThe method's descriptor (see Type). |
java.util.List |
exceptionsThe internal names of the method's exception classes (see getInternalName). |
java.util.List |
instructionsThe instructions of this method. |
java.util.List |
lineNumbersThe line numbers of this method. |
java.util.List |
localVariablesThe local variables of this method. |
int |
maxLocalsThe maximum number of local variables of this method. |
int |
maxStackThe maximum stack size of this method. |
java.lang.String |
nameThe method's name. |
java.util.List |
tryCatchBlocksThe try catch blocks of this method. |
| Constructor Summary | |
|---|---|
MethodNode(int access, java.lang.String name, java.lang.String desc, java.lang.String[] exceptions, Attribute attrs)Constructs a new MethodNode object. |
|
| Method Summary | |
|---|---|
void |
accept(ClassVisitor cv)Makes the given class visitor visit this method. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int access
MethodNodeConstants). This field also indicates if the method is synthetic and/or deprecated.public java.lang.String name
MethodNodepublic java.lang.String desc
MethodNodeType).public final java.util.List exceptions
MethodNodegetInternalName). This list is a list of String objects.public Attribute attrs
MethodNodepublic final java.util.List instructions
MethodNodeAbstractInsnNode and Label objects.public final java.util.List tryCatchBlocks
MethodNodeTryCatchBlockNode objects.public int maxStack
MethodNodepublic int maxLocals
MethodNodepublic final java.util.List localVariables
MethodNodeLocalVariableNode objects.public final java.util.List lineNumbers
MethodNodeLineNumberNode objects.public Attribute codeAttrs
MethodNode| Constructor Detail |
|---|
public MethodNode(int access,
java.lang.String name,
java.lang.String desc,
java.lang.String[] exceptions,
Attribute attrs)
MethodNode object.
access - the method's access flags (see Constants). This parameter also indicates if the method is synthetic and/or deprecated.name - the method's name.desc - the method's descriptor (see Type).exceptions - the internal names of the method's exception classes (see getInternalName). May be null.attrs - the non standard attributes of the method.| Method Detail |
|---|
public void accept(ClassVisitor cv)
cv - a class visitor.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||