01: package org.drools.eclipse.debug.core;
02:
03: import org.eclipse.debug.core.DebugException;
04: import org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget;
05: import org.eclipse.jdt.internal.debug.core.model.JDIThisVariable;
06:
07: import com.sun.jdi.ObjectReference;
08:
09: public class MVELThisVariable extends JDIThisVariable {
10:
11: private String label;
12:
13: public MVELThisVariable(JDIDebugTarget target,
14: ObjectReference object, String label) {
15: super (target, object);
16: this .label = label;
17: }
18:
19: public String getName() {
20: return label;
21: }
22:
23: public boolean isPublic() throws DebugException {
24: return true;
25: }
26: }
|