Klasse InvokeInstruction

Alle implementierten Schnittstellen:
Serializable, Cloneable, Constants
Bekannte direkte Unterklassen:
InvokeDynamic, INVOKEINTERFACE

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

    • InvokeInstruction

      public InvokeInstruction(short opcode, int index)
      Parameter:
      index - to constant pool
  • 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
    • consumeStack

      public int consumeStack(ConstantPool cpg)
      Also works for instructions whose stack effect depends on the constant pool entry they reference.
      Setzt außer Kraft:
      consumeStack in Klasse Instruction
      Gibt zurück:
      Number of words consumed from stack by this instruction
    • produceStack

      public int produceStack(ConstantPool cpg)
      Also works for instructions whose stack effect depends on the constant pool entry they reference.
      Setzt außer Kraft:
      produceStack in Klasse Instruction
      Gibt zurück:
      Number of words produced onto stack by this instruction
    • getType

      public Type getType(ConstantPool cpg)
      Setzt außer Kraft:
      getType in Klasse InstructionCP
      Gibt zurück:
      return type of referenced method.
    • getMethodName

      public String getMethodName(ConstantPool cpg)
      Gibt zurück:
      name of referenced method.
    • getReturnType

      public Type getReturnType(ConstantPool cpg)
      Gibt zurück:
      return type of referenced method.
    • getArgumentTypes

      public Type[] getArgumentTypes(ConstantPool cpg)
      Gibt zurück:
      argument types of referenced method.