org.apache.tools.ant.taskdefs.optional.depend.constantpool

Class InterfaceMethodRefCPInfo

public class InterfaceMethodRefCPInfo extends ConstantPoolEntry

A InterfaceMethodRef CP Info
Constructor Summary
InterfaceMethodRefCPInfo()
Constructor.
Method Summary
StringgetInterfaceMethodClassName()
Gets the name of the class defining the interface method
StringgetInterfaceMethodName()
Get the name of the interface method
StringgetInterfaceMethodType()
Gets the type of the interface method
voidread(DataInputStream cpStream)
read a constant pool entry from a class stream.
voidresolve(ConstantPool constantPool)
Resolve this constant pool entry with respect to its dependents in the constant pool.
StringtoString()
Print a readable version of the constant pool entry.

Constructor Detail

InterfaceMethodRefCPInfo

public InterfaceMethodRefCPInfo()
Constructor.

Method Detail

getInterfaceMethodClassName

public String getInterfaceMethodClassName()
Gets the name of the class defining the interface method

Returns: the name of the class defining the interface method

getInterfaceMethodName

public String getInterfaceMethodName()
Get the name of the interface method

Returns: the name of the interface method

getInterfaceMethodType

public String getInterfaceMethodType()
Gets the type of the interface method

Returns: the interface method's type signature

read

public void read(DataInputStream cpStream)
read a constant pool entry from a class stream.

Parameters: cpStream the DataInputStream which contains the constant pool entry to be read.

Throws: IOException if there is a problem reading the entry from the stream.

resolve

public void resolve(ConstantPool constantPool)
Resolve this constant pool entry with respect to its dependents in the constant pool.

Parameters: constantPool the constant pool of which this entry is a member and against which this entry is to be resolved.

toString

public String toString()
Print a readable version of the constant pool entry.

Returns: the string representation of this constant pool entry.