All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class lti.java.jcf.CptGeneric

java.lang.Object
   |
   +----lti.java.jcf.CptGeneric

public abstract class CptGeneric
extends Object
Abstract base class for constant pool tags


Variable Index

 o index
 o parent

Method Index

 o getIndex()
Returns the index of this constant in the pool
 o getParent()
Returns the parent constant pool of this constant
 o getTag()
Returns the byte tag of the constant (e.g.
 o setIndex(int)
Sets the index of this constant in the pool
 o write(JcfClassOutput)
Write to a JcfClassOutput.

Variables

 o parent
 protected JcfConstantPool parent
 o index
 protected int index

Methods

 o getParent
 public final JcfConstantPool getParent()
Returns the parent constant pool of this constant

 o getIndex
 public final int getIndex()
Returns the index of this constant in the pool

 o setIndex
 public final void setIndex(int newindex)
Sets the index of this constant in the pool

 o write
 public abstract void write(JcfClassOutput ost) throws IOException
Write to a JcfClassOutput.

Parameters:
ost - The JcfClassOutput to write to.
 o getTag
 public abstract int getTag()
Returns the byte tag of the constant (e.g. CONSTANT_UTF8, CONSTANT_METHOD, etc.)


All Packages  Class Hierarchy  This Package  Previous  Next  Index