public final class ConstantFieldref extends ConstantCP
class_index, name_and_type_index
Constructor and Description |
---|
ConstantFieldref(ConstantFieldref c)
Initialize from another object.
|
ConstantFieldref(int classIndex,
int nameAndTypeIndex) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class.
|
dump, getClass, getClassIndex, getNameAndTypeIndex, setClassIndex, setNameAndTypeIndex, toString
clone, copy, equals, getComparator, getTag, hashCode, readConstant, setComparator
public ConstantFieldref(ConstantFieldref c)
c
- Source to copy.public ConstantFieldref(int classIndex, int nameAndTypeIndex)
classIndex
- Reference to the class containing the FieldnameAndTypeIndex
- and the Field signaturepublic void accept(Visitor v)
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.