jrre.instructionset.methodinvocation
Class InvokeVirtual

java.lang.Object
  |
  +--jrre.instructionset.Instruction
        |
        +--jrre.instructionset.methodinvocation.InvokeVirtual

public class InvokeVirtual
extends Instruction

Represents and contains execution tasks for the invokespecial instruction. This is used when calling the constructor of a method.

Author:
Christopher Ellsworth (Chris@chrisellsworth.com)
, Clarence Alston

Field Summary
 
Fields inherited from class jrre.instructionset.Instruction
description, length, name, nextInstruction, prevInstruction
 
Constructor Summary
InvokeVirtual(int operandOne, int operandTwo)
           
 
Method Summary
 void execute()
          Executed the invokevirtual instruction on the specified stack frame.
 java.lang.String toString()
           
 
Methods inherited from class jrre.instructionset.Instruction
getDescription, getLength, getName, getNextInstruction, getPrevInstruction, setDescription, setLength, setName, setNextInstruction, setPrevInstruction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvokeVirtual

public InvokeVirtual(int operandOne,
                     int operandTwo)
Method Detail

execute

public void execute()
Executed the invokevirtual instruction on the specified stack frame.

Specified by:
execute in class Instruction

toString

public java.lang.String toString()
Specified by:
toString in class Instruction


Copyright © 2002-2002 Appalachian State University. All Rights Reserved.