DebuggerEngine currentEngine = DebuggerManager.getDebuggerManager ().
getCurrentEngine ();
if (currentEngine == null) return;
JPDADebugger d = currentEngine.lookupFirst(null, JPDADebugger.class);
if (d == null) return;
JPDAThread t = d.getCurrentThread();
if (t == null || !t.isSuspended()) return ;
String toolTipText = null;
try {
Variable v = null;
List<Operation> operations = t.getLastOperations();
if (operations != null) {
for (Operation operation: operations) {
if (!expression.endsWith(operation.getMethodName())) {
continue;
}