ConstantMethodrefpublic final class ConstantMethodref extends ConstantCP This class represents a constant pool reference to a method. |
Constructors Summary |
---|
public ConstantMethodref(ConstantMethodref c)Initialize from another object.
super(Constants.CONSTANT_Methodref, c.getClassIndex(), c.getNameAndTypeIndex());
| ConstantMethodref(DataInputStream file)Initialize instance from file data.
super(Constants.CONSTANT_Methodref, file);
| public ConstantMethodref(int class_index, int name_and_type_index)
super(Constants.CONSTANT_Methodref, class_index, name_and_type_index);
|
Methods Summary |
---|
public void | accept(com.sun.org.apache.bcel.internal.classfile.Visitor v)Called by objects that are traversing the nodes of the tree implicitely
defined by the contents of a Java class. I.e., the hierarchy of methods,
fields, attributes, etc. spawns a tree of objects.
v.visitConstantMethodref(this);
|
|