de.fub.bytecode.generic
Class GETSTATIC

java.lang.Object
  |
  +--de.fub.bytecode.generic.Instruction
        |
        +--de.fub.bytecode.generic.CPInstruction
              |
              +--de.fub.bytecode.generic.FieldOrMethod
                    |
                    +--de.fub.bytecode.generic.FieldInstruction
                          |
                          +--de.fub.bytecode.generic.GETSTATIC

public class GETSTATIC
extends FieldInstruction
implements PushInstruction, ExceptionThrower

GETSTATIC - Fetch static field from class

Stack: ..., -> ..., value
OR
Stack: ..., -> ..., value.word1, value.word2

Version:
$Id: GETSTATIC.java,v 1.7 1999/09/09 07:42:48 dahm Exp $
Author:
M. Dahm
See Also:
Serialized Form

Fields inherited from class de.fub.bytecode.generic.CPInstruction
index
 
Fields inherited from class de.fub.bytecode.generic.Instruction
length, tag
 
Constructor Summary
GETSTATIC(int index)
           
 
Method Summary
 java.lang.Class[] getExceptions()
           
 int produceStack(ConstantPoolGen cpg)
           
 
Methods inherited from class de.fub.bytecode.generic.FieldInstruction
getFieldName, getFieldSize, getFieldType, getType, toString
 
Methods inherited from class de.fub.bytecode.generic.FieldOrMethod
getClassName, getClassType, getName, getSignature
 
Methods inherited from class de.fub.bytecode.generic.CPInstruction
dump, getIndex, initFromFile, setIndex, toString
 
Methods inherited from class de.fub.bytecode.generic.Instruction
consumeStack, consumeStack, copy, getLength, getTag, produceStack, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GETSTATIC

public GETSTATIC(int index)
Method Detail

produceStack

public int produceStack(ConstantPoolGen cpg)
Overrides:
produceStack in class Instruction

getExceptions

public java.lang.Class[] getExceptions()
Specified by:
getExceptions in interface ExceptionThrower