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

public Class MethodTypeCPInfo

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

A Method Type CP Info

Field Summary

Modifier and TypeField and Description
private String
methodDescriptor

the value of the method descriptor pointed to

private int
methodDescriptorIndex

Index into the constant pool for the class

Constructor Summary

AccessConstructor and Description
public
MethodTypeCPInfo()

Constructor.

Method Summary

Modifier and TypeMethod and Description
public void
read(final 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(final 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.ConstantCPInfo:
getValuesetValue

Field Detail

methodDescriptorback to summary
private String methodDescriptor

the value of the method descriptor pointed to

methodDescriptorIndexback to summary
private int methodDescriptorIndex

Index into the constant pool for the class

Constructor Detail

MethodTypeCPInfoback to summary
public MethodTypeCPInfo()

Constructor.

Method Detail

readback to summary
public void read(final 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(final 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