APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.org.apache.bcel.internal.classfile

public final Class ConstantInterfaceMethodref

extends ConstantCP
Class Inheritance
Imports
java.io.DataInput, .IOException, com.sun.org.apache.bcel.internal.Const

This class represents a constant pool reference to an interface method.

Field Summary

Inherited from com.sun.org.apache.bcel.internal.classfile.ConstantCP:
class_indexname_and_type_index

Constructor Summary

AccessConstructor and Description
public
ConstantInterfaceMethodref(final ConstantInterfaceMethodref
Source to copy.
c
)

Initialize from another object.

pack-priv
ConstantInterfaceMethodref(final DataInput
input stream
input
)

Initialize instance from input data.

public
ConstantInterfaceMethodref(final int
Reference to the class containing the method
classIndex
,
final int
and the method signature
nameAndTypeIndex
)

Method Summary

Modifier and TypeMethod and Description
public void
accept(final Visitor
Visitor object
v
)

Implements abstract com.sun.org.apache.bcel.internal.classfile.Constant.accept.

Implements com.sun.org.apache.bcel.internal.classfile.Node.accept.

Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class.

Inherited from com.sun.org.apache.bcel.internal.classfile.ConstantCP:
dumpgetClassgetClassIndexgetNameAndTypeIndexsetClassIndexsetNameAndTypeIndextoString

Constructor Detail

ConstantInterfaceMethodrefback to summary
public ConstantInterfaceMethodref(final ConstantInterfaceMethodref c)

Initialize from another object.

Parameters
c:ConstantInterfaceMethodref

Source to copy.

ConstantInterfaceMethodrefback to summary
pack-priv ConstantInterfaceMethodref(final DataInput input) throws IOException

Initialize instance from input data.

Parameters
input:DataInput

input stream

Exceptions
IOException:
if an I/O error occurs.
ConstantInterfaceMethodrefback to summary
public ConstantInterfaceMethodref(final int classIndex, final int nameAndTypeIndex)
Parameters
classIndex:int

Reference to the class containing the method

nameAndTypeIndex:int

and the method signature

Method Detail

acceptback to summary
public void accept(final Visitor v)

Implements abstract com.sun.org.apache.bcel.internal.classfile.Constant.accept.

Implements com.sun.org.apache.bcel.internal.classfile.Node.accept.

Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects.

Parameters
v:Visitor

Visitor object

Annotations
@Override