FileDocCategorySizeDatePackage
ConstantCPInfo.javaAPI DocApache Ant 1.701915Wed Dec 13 06:16:20 GMT 2006org.apache.tools.ant.taskdefs.optional.depend.constantpool

ConstantCPInfo

public abstract class ConstantCPInfo extends ConstantPoolEntry
A Constant Pool entry which represents a constant value.

Fields Summary
private Object
value
The entry's untyped value. Each subclass interprets the constant value based on the subclass's type. The value here must be compatible.
Constructors Summary
protected ConstantCPInfo(int tagValue, int entries)
Initialise the constant entry.

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

        super(tagValue, entries);
    
Methods Summary
public java.lang.ObjectgetValue()
Get the value of the constant.

return
the value of the constant (untyped).

        return value;
    
public voidsetValue(java.lang.Object newValue)
Set the constant value.

param
newValue the new untyped value of this constant.

        value = newValue;