Top Description Fields Constructors Methods
org.apache.tools.ant.taskdefs.optional.depend.constantpool

public Class InterfaceMethodRefCPInfo

extends ConstantPoolEntry
Class Inheritance
Imports
java.io.DataInputStream, .IOException

A InterfaceMethodRef CP Info

Field Summary

Modifier and TypeField and Description
private int
classIndex

the index into the constant pool of the class entry for the interface class

private String
interfaceMethodClassName

the class name of the class defining the interface method

private String
interfaceMethodName

the name of the interface nmethod

private String
interfaceMethodType

the method signature of the interface method

private int
nameAndTypeIndex

the index into the constant pool of the name and type entry describing the method

Inherited from org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPoolEntry:
CONSTANT_CLASSCONSTANT_DOUBLECONSTANT_FIELDREFCONSTANT_FLOATCONSTANT_INTEGERCONSTANT_INTERFACEMETHODREFCONSTANT_INVOKEDYNAMICCONSTANT_LONGCONSTANT_METHODHANDLECONSTANT_METHODREFCONSTANT_METHODTYPECONSTANT_MODULEINFOCONSTANT_NAMEANDTYPECONSTANT_PACKAGEINFOCONSTANT_STRINGCONSTANT_UTF8

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the name of the class defining the interface method
getInterfaceMethodClassName
()

Gets the name of the class defining the interface method

public String

Returns:

the name of the interface method
getInterfaceMethodName
()

Get the name of the interface method

public String

Returns:

the interface method's type signature
getInterfaceMethodType
()

Gets the type of the interface method

public void
read(DataInputStream
the DataInputStream which contains the constant pool entry to be read.
cpStream
)

Implements abstract org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPoolEntry.read.

read a constant pool entry from a class stream.
public void
resolve(ConstantPool
the constant pool of which this entry is a member and against which this entry is to be resolved.
constantPool
)

Overrides org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPoolEntry.resolve.

Resolve this constant pool entry with respect to its dependents in the constant pool.
public String

Returns:

the string representation of this constant pool entry.
toString
()

Overrides java.lang.Object.toString.

Print a readable version of the constant pool entry.
Inherited from org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPoolEntry:
getNumEntriesgetTagisResolvedreadEntry

Field Detail

classIndexback to summary
private int classIndex

the index into the constant pool of the class entry for the interface class

interfaceMethodClassNameback to summary
private String interfaceMethodClassName

the class name of the class defining the interface method

interfaceMethodNameback to summary
private String interfaceMethodName

the name of the interface nmethod

interfaceMethodTypeback to summary
private String interfaceMethodType

the method signature of the interface method

nameAndTypeIndexback to summary
private int nameAndTypeIndex

the index into the constant pool of the name and type entry describing the method

Constructor Detail

InterfaceMethodRefCPInfoback to summary
public InterfaceMethodRefCPInfo()

Constructor.

Method Detail

getInterfaceMethodClassNameback to summary
public String getInterfaceMethodClassName()

Gets the name of the class defining the interface method

Returns:String

the name of the class defining the interface method

getInterfaceMethodNameback to summary
public String getInterfaceMethodName()

Get the name of the interface method

Returns:String

the name of the interface method

getInterfaceMethodTypeback to summary
public String getInterfaceMethodType()

Gets the type of the interface method

Returns:String

the interface method's type signature

readback to summary
public void read(DataInputStream cpStream) throws IOException

Implements abstract org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPoolEntry.read.

read a constant pool entry from a class stream.

Parameters
cpStream:DataInputStream

the DataInputStream which contains the constant pool entry to be read.

Annotations
@Override
Exceptions
IOException:
if there is a problem reading the entry from the stream.
resolveback to summary
public void resolve(ConstantPool constantPool)

Overrides org.apache.tools.ant.taskdefs.optional.depend.constantpool.ConstantPoolEntry.resolve.

Resolve this constant pool entry with respect to its dependents in the constant pool.

Parameters
constantPool:ConstantPool

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

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Print a readable version of the constant pool entry.

Returns:String

the string representation of this constant pool entry.

Annotations
@Override