View Javadoc
1 package jrre.instructionset.objects; 2 3 import jrre.*; 4 import jrre.types.*; 5 6 public class MonitorEnter extends jrre.instructionset.Instruction { 7 8 public MonitorEnter(){ 9 10 name = "monitorenter "; 11 description = "monitors an object."; 12 length = 0; 13 } 14 15 /*** 16 * Executes the <strong><code>monitorenter</code></strong> instruction. 17 * 18 */ 19 public void execute(){ 20 21 Type toMonitor = Stack.popOperand(); 22 } 23 24 public String toString(){ 25 StringBuffer toReturn = new StringBuffer(); 26 toReturn.append("monitorenter "); 27 return toReturn.toString(); 28 } 29 }

This page was automatically generated by Maven