All Packages Class Hierarchy This Package Previous Next Index
Class de.fub.bytecode.generic.LDC
java.lang.Object
|
+----de.fub.bytecode.generic.Instruction
|
+----de.fub.bytecode.generic.CPInstruction
|
+----de.fub.bytecode.generic.LDC
- public class LDC
- extends CPInstruction
- implements PushInstruction, ExceptionThrower
LDC - Push item from constant pool
Stack: ... -> ..., item.word1, item.word2
- Version:
- $Id: LDC.java,v 1.6 1999/09/09 07:42:55 dahm Exp $
- Author:
- M. Dahm
-
LDC(int)
-
-
dump(DataOutputStream)
- Dump instruction as byte code to stream out.
-
getExceptions()
-
-
getType(ConstantPoolGen)
-
-
initFromFile(ByteSequence, boolean)
- Read needed data (e.g.
-
setIndex(int)
- Set the index to constant pool and adjust size.
-
setSize()
-
LDC
public LDC(int index)
setSize
protected final void setSize()
dump
public void dump(DataOutputStream out) throws IOException
- Dump instruction as byte code to stream out.
- Parameters:
- out - Output stream
- Overrides:
- dump in class CPInstruction
setIndex
public final void setIndex(int index)
- Set the index to constant pool and adjust size.
- Overrides:
- setIndex in class CPInstruction
initFromFile
protected void initFromFile(ByteSequence bytes,
boolean wide) throws IOException
- Read needed data (e.g. index) from file.
- Overrides:
- initFromFile in class CPInstruction
getType
public Type getType(ConstantPoolGen cpg)
- Overrides:
- getType in class CPInstruction
getExceptions
public Class[] getExceptions()
All Packages Class Hierarchy This Package Previous Next Index