1 19 20 package org.netbeans.modules.debugger.jpda.models; 21 22 import com.sun.jdi.Value; 23 import org.netbeans.api.debugger.jpda.This; 24 import org.netbeans.modules.debugger.jpda.JPDADebuggerImpl; 25 26 27 30 class ThisVariable extends AbstractVariable implements This { 31 32 ThisVariable ( 33 JPDADebuggerImpl debugger, 34 Value value, 35 String parentID 36 ) { 37 super ( 38 debugger, 39 value, 40 parentID + ".this^" 41 ); 42 } 43 44 45 47 public ThisVariable clone() { 48 return new ThisVariable(getDebugger(), getJDIValue(), 49 getID().substring(0, getID().length() - ".this^".length())); 50 } 51 52 54 public String toString () { 55 return "ThisVariable this"; 56 } 57 } 58 | Popular Tags |