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
-
index
-
-
parent
-
-
getIndex()
- Returns the index of this constant in the pool
-
getParent()
- Returns the parent constant pool of this constant
-
getTag()
- Returns the byte tag of the constant (e.g.
-
setIndex(int)
- Sets the index of this constant in the pool
-
write(JcfClassOutput)
- Write to a JcfClassOutput.
parent
protected JcfConstantPool parent
index
protected int index
getParent
public final JcfConstantPool getParent()
- Returns the parent constant pool of this constant
getIndex
public final int getIndex()
- Returns the index of this constant in the pool
setIndex
public final void setIndex(int newindex)
- Sets the index of this constant in the pool
write
public abstract void write(JcfClassOutput ost) throws IOException
- Write to a JcfClassOutput.
- Parameters:
- ost - The JcfClassOutput to write to.
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