Klasse FieldInstruction

Alle implementierten Schnittstellen:
Serializable, Cloneable, Constants

public class FieldInstruction extends FieldOrMethod
Super class for the GET/PUTxxx family of instructions.
Version:
$Id: FieldInstruction.java,v 1.7 2009/10/05 17:35:36 aclement Exp $
Autor:
M. Dahm
Siehe auch:
  • Konstruktordetails

    • FieldInstruction

      public FieldInstruction(short opcode, int index)
  • Methodendetails

    • toString

      public String toString(ConstantPool cp)
      Setzt außer Kraft:
      toString in Klasse InstructionCP
      Gibt zurück:
      mnemonic for instruction with symbolic references resolved
    • getFieldSize

      protected int getFieldSize(ConstantPool cpg)
      Gibt zurück:
      size of field (1 or 2)
    • getType

      public Type getType(ConstantPool cpg)
      Setzt außer Kraft:
      getType in Klasse InstructionCP
    • getFieldType

      public Type getFieldType(ConstantPool cpg)
    • getFieldName

      public String getFieldName(ConstantPool cpg)
    • produceStack

      public int produceStack(ConstantPool cpg)
      Setzt außer Kraft:
      produceStack in Klasse Instruction
      Gibt zurück:
      Number of words produced onto stack by this instruction, or Constants.UNPREDICTABLE, if this can not be computed statically
    • consumeStack

      public int consumeStack(ConstantPool cpg)
      Setzt außer Kraft:
      consumeStack in Klasse Instruction
      Gibt zurück:
      Number of words consumed from stack by this instruction, or Constants.UNPREDICTABLE, if this can not be computed statically