public class Method
extends java.lang.Object
Code
,
Exceptions
Modifier and Type | Field and Description |
---|---|
protected Attribute[] |
attrs |
protected ClassFile |
clazz |
protected Exceptions |
exceptions |
protected java.io.DataInputStream |
in |
protected int |
modifiers |
protected int |
name |
protected boolean |
synthetic |
protected int |
type |
Constructor and Description |
---|
Method(java.io.DataInputStream in,
ClassFile clazz)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Attribute[] |
getAttrs() |
ClassFile |
getClazz() |
Exceptions |
getExceptions() |
int |
getModifiers() |
int |
getName() |
int |
getType() |
void |
initialize() |
boolean |
isBridge() |
boolean |
isSynthetic() |
java.lang.String |
name() |
protected ClassFile clazz
protected java.io.DataInputStream in
protected int modifiers
protected int name
protected int type
protected Attribute[] attrs
protected Exceptions exceptions
protected boolean synthetic
public Method(java.io.DataInputStream in, ClassFile clazz)
in
- The data stream of the class file.clazz
- The class file containing the method.java.io.IOException
- If an error occurs while reading.public void initialize() throws java.io.IOException
java.io.IOException
public boolean isSynthetic()
public boolean isBridge()
public Attribute[] getAttrs()
public ClassFile getClazz()
public Exceptions getExceptions()
public int getModifiers()
public int getName()
public int getType()
public java.lang.String name()