1 11 package org.eclipse.jdt.internal.debug.eval.ast.instructions; 12 13 import org.eclipse.core.runtime.CoreException; 14 15 28 public class Dup extends SimpleInstruction { 29 30 33 public void execute() throws CoreException { 34 Object element= pop(); 35 push(element); 36 push(element); 37 } 38 39 public String toString() { 40 return "Dup"; } 42 43 } 44 | Popular Tags |