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