de.fub.bytecode.generic
Class GETFIELD

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.GETFIELD

public class GETFIELD
extends FieldInstruction
implements ExceptionThrower

GETFIELD - Fetch field from object

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

Version:
$Id: GETFIELD.java,v 1.6 1999/09/09 07:42:47 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
GETFIELD(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

GETFIELD

public GETFIELD(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