alt.jiapi.reflect.instruction
Class CPInstruction
java.lang.Object
alt.jiapi.reflect.Instruction
alt.jiapi.reflect.instruction.CPInstruction
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- ReferencingInstruction
public class CPInstruction
- extends Instruction
This class represents an Instruction, that has a reference to Constant
pool
- Version:
- $Revision: 1.8 $ $Date: 2004/08/08 10:16:06 $
- Author:
- Mika Riekkinen, Joni Suominen
Methods inherited from class alt.jiapi.reflect.Instruction |
getAttribute, getBytes, getOffset, getOpcode, length, setAttribute, setAttribute, setBytes, setOffset, stackConsumption, stackUsage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
cp
protected ConstantPool cp
CPInstruction
public CPInstruction(byte[] bytes,
ConstantPool cp)
getConstantPool
public ConstantPool getConstantPool()
- Get ConstantPool
getEntry
public ConstantPool.Entry getEntry()
- Get the ConstantPool entry, this CPInstruction is referencing.
getIndex
public int getIndex()
- Gets the index to the constant pool, that is referenced by this
CPInstruction.
replaceConstantPool
public void replaceConstantPool(ConstantPool newCP)
toString
public java.lang.String toString()
- Overrides:
toString
in class Instruction
Copyright © 2001. Documenation generated August 26 2011.