API Overview API Index Package Overview Direct link to this page
Apache Ant 1.7.1
  org.apache.tools.ant.taskdefs.optional.depend.constantpool. ConstantCPInfo View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      ConstantPoolEntry
          ConstantCPInfo
Implements
Subclasses
Description
publicabstract abstract class ConstantCPInfo
A Constant Pool entry which represents a constant value.
See also:   
Constructors
protected ConstantCPInfo (int tagValue, int entries)
  Initialise the constant entry.
Methods
Hide/Show inherited methods
publicfinal int getNumEntries () [Inherited From ConstantPoolEntry]
  Get the number of Constant Pool Entry slots within the constant pool occupied by this entry.
public int getTag () [Inherited From ConstantPoolEntry]
  Get the Entry's type tag.
public java.lang.Object getValue ()
  Get the value of the constant.
public boolean isResolved () [Inherited From ConstantPoolEntry]
  Indicates whether this entry has been resolved.
publicabstract void read (java.io.DataInputStream cpStream) throws java.io.IOException [Inherited From ConstantPoolEntry]
  read a constant pool entry from a class stream.
publicstatic ConstantPoolEntry readEntry (java.io.DataInputStream cpStream) throws java.io.IOException [Inherited From ConstantPoolEntry]
  Read a constant pool entry from a stream.
public void resolve (ConstantPool constantPool) [Inherited From ConstantPoolEntry]
  Resolve this constant pool entry with respect to its dependents in the constant pool.
public void setValue (java.lang.Object newValue)
  Set the constant value.
Fields
Hide/Show inherited fields
publicfinalstatic int CONSTANT_CLASS = "7" [Inherited From ConstantPoolEntry]
Tag value for Class entries.
publicfinalstatic int CONSTANT_DOUBLE = "6" [Inherited From ConstantPoolEntry]
Tag value for Double entries.
publicfinalstatic int CONSTANT_FIELDREF = "9" [Inherited From ConstantPoolEntry]
Tag value for Field Reference entries.
publicfinalstatic int CONSTANT_FLOAT = "4" [Inherited From ConstantPoolEntry]
Tag value for Float entries.
publicfinalstatic int CONSTANT_INTEGER = "3" [Inherited From ConstantPoolEntry]
Tag value for Integer entries.
publicfinalstatic int CONSTANT_INTERFACEMETHODREF = "11" [Inherited From ConstantPoolEntry]
Tag value for Interface Method Reference entries.
publicfinalstatic int CONSTANT_LONG = "5" [Inherited From ConstantPoolEntry]
Tag value for Long entries.
publicfinalstatic int CONSTANT_METHODREF = "10" [Inherited From ConstantPoolEntry]
Tag value for Method Reference entries.
publicfinalstatic int CONSTANT_NAMEANDTYPE = "12" [Inherited From ConstantPoolEntry]
Tag value for Name and Type entries.
publicfinalstatic int CONSTANT_STRING = "8" [Inherited From ConstantPoolEntry]
Tag value for String entries.
publicfinalstatic int CONSTANT_UTF8 = "1" [Inherited From ConstantPoolEntry]
Tag value for UTF8 entries.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar