All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----harpoon.ClassFile.Raw.MethodInfo
method_info
structure.
descriptor_index
item must be a
valid index into the constant_pool
table.
name_index
item must be a valid
index into the constant_pool
table.
protected ClassFile parent
public AccessFlags access_flags
public int name_index
name_index
item must be a valid
index into the constant_pool
table. The
constant_pool
entry at that index must be a
CONSTANT_Utf8_info
structure representing either
one of the special internal method names, either <init> or
<clint>, or a valid Java method name, stored as a simple
(not fully qualified) name.
public int descriptor_index
descriptor_index
item must be a
valid index into the constant_pool
table. The
constant_pool
entry at that index must be a
CONSTANT_Utf8_info
structure representing a valid
Java method descriptor.
public Attribute attributes[]
The only attributes defined by this specification
for the attributes
table of a
method_info
structure are the Code
and
Exceptions
attributes.
public MethodInfo(ClassFile parent, AccessFlags access_flags, int name_index, int descriptor_index, Attribute attributes[])
public void read(ClassFile p, ClassDataInputStream in) throws IOException
public void write(ClassDataOutputStream out) throws IOException
public ConstantUtf8 name_index()
public ConstantUtf8 descriptor_index()
public String name()
public String descriptor()
public void print(PrintWriter pw, int indent)
All Packages Class Hierarchy This Package Previous Next Index