Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class DE.fub.inf.JVM.ClassGen.SIPUSH

java.lang.Object
  |
  +--DE.fub.inf.JVM.ClassGen.Instruction
        |
        +--DE.fub.inf.JVM.ClassGen.SIPUSH

public class SIPUSH
extends Instruction
implements ConstantPushInstruction
SIPUSH - Push short Stack: ... -> ..., value

Version:
$Id: SIPUSH.java,v 1.4 1998/10/16 09:54:08 dahm Exp $
Author:
M. Dahm
See Also:
Serialized Form

Fields inherited from class DE.fub.inf.JVM.ClassGen.Instruction
length, position, tag
 
Constructor Summary
SIPUSH(short b)
           
 
Method Summary
void dump(java.io.DataOutputStream out)
          Dump instruction as short code to stream out.
java.lang.Number getValue()
           
void initFromFile(ByteSequence bytes, boolean wide)
          Read needed data (e.g. index) from file.
java.lang.String toString(boolean verbose)
           
 
Methods inherited from class DE.fub.inf.JVM.ClassGen.Instruction
consumeStack, dump, getInstructionList, getLength, getPosition, getTag, initFromFile, produceStack, readInstruction, setPosition, toString, toString, toString, updatePosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Constructor Detail

SIPUSH

public SIPUSH(short b)
Method Detail

dump

public void dump(java.io.DataOutputStream out)
         throws java.io.IOException
Dump instruction as short code to stream out.
Overrides:
dump in class Instruction

toString

public java.lang.String toString(boolean verbose)
Returns:
mnemonic for instruction
Overrides:
toString in class Instruction

initFromFile

protected void initFromFile(ByteSequence bytes,
                            boolean wide)
                    throws java.io.IOException
Read needed data (e.g. index) from file.
Overrides:
initFromFile in class Instruction

getValue

public java.lang.Number getValue()
Description copied from interface:
 
Specified by:
getValue in interface ConstantPushInstruction

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD