public final class ConstantMethodref extends ConstantCP
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
class_index, name_and_type_index
Constructor and Description |
---|
ConstantMethodref(ConstantMethodref c)
Initialize from another object.
|
ConstantMethodref(java.io.DataInputStream file)
Initialize instance from file data.
|
ConstantMethodref(int class_index,
int name_and_type_index) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitely
defined by the contents of a Java class.
|
dump, getClass, getClassIndex, getNameAndTypeIndex, setClassIndex, setNameAndTypeIndex, toString
clone, copy, equals, getComparator, getTag, hashCode, readConstant, setComparator
private static final long serialVersionUID
public ConstantMethodref(ConstantMethodref c)
ConstantMethodref(java.io.DataInputStream file) throws java.io.IOException
file
- input streamjava.io.IOException
public ConstantMethodref(int class_index, int name_and_type_index)
class_index
- Reference to the class containing the methodname_and_type_index
- and the method signaturepublic void accept(Visitor v)