All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----harpoon.ClassFile.Raw.Constant.Constant | +----harpoon.ClassFile.Raw.Constant.ConstantInterfaceMethodref
CONSTANT_InterfaceMethodref
structure represents
an interface method.
class_index
item must be a valid
index into the constant_pool
table of the
parent
.
name_and_type_index
item must be a
valid index into the constant_pool
table of the
parent
.
public int class_index
class_index
item must be a valid
index into the constant_pool
table of the
parent
. The constant_pool
entry at
that index must be a CONSTANT_Class_info
structure
representing the class or interface type that contains the
declaration of the method.
The class_index
item of a
CONSTANT_InterfaceMethodref
must be an interface
type that declares the given method.
public int name_and_type_index
name_and_type_index
item must be a
valid index into the constant_pool
table of the
parent
. The constant_pool
entry at
that index must be a CONSTANT_NameAndType_info
structure. This constant_pool
entry indicates the
name and descriptor of the method.
If the name of the method of a
CONSTANT_InterfaceMethodref_info
begins with a '<'
('<'), then the name must be one of the special internal
methods, either <init> or <clinit>. In this case,
the method must return no value.
public ConstantInterfaceMethodref(ClassFile parent, int class_index, int name_and_type_index)
public void write(ClassDataOutputStream out) throws IOException
public ConstantClass class_index()
public ConstantNameAndType name_and_type_index()
public String toString()
All Packages Class Hierarchy This Package Previous Next Index