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

Class ConstantCPInfo

public abstract class ConstantCPInfo extends ConstantPoolEntry

A Constant Pool entry which represents a constant value.
Constructor Summary
protected ConstantCPInfo(int tagValue, int entries)
Initialise the constant entry.
Method Summary
ObjectgetValue()
Get the value of the constant.
voidsetValue(Object newValue)
Set the constant value.

Constructor Detail

ConstantCPInfo

protected ConstantCPInfo(int tagValue, int entries)
Initialise the constant entry.

Parameters: tagValue the constant pool entry type to be used. entries the number of constant pool entry slots occupied by this entry.

Method Detail

getValue

public Object getValue()
Get the value of the constant.

Returns: the value of the constant (untyped).

setValue

public void setValue(Object newValue)
Set the constant value.

Parameters: newValue the new untyped value of this constant.