public final class ConstantFieldref extends ConstantCP
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
class_index, name_and_type_index| Constructor and Description |
|---|
ConstantFieldref(ConstantFieldref c)
Initialize from another object.
|
ConstantFieldref(java.io.DataInputStream file)
Initialize instance from file data.
|
ConstantFieldref(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, toStringclone, copy, equals, getComparator, getTag, hashCode, readConstant, setComparatorprivate static final long serialVersionUID
public ConstantFieldref(ConstantFieldref c)
ConstantFieldref(java.io.DataInputStream file)
throws java.io.IOException
file - input streamjava.io.IOExceptionpublic ConstantFieldref(int class_index,
int name_and_type_index)
class_index - Reference to the class containing the Fieldname_and_type_index - and the Field signaturepublic void accept(Visitor v)