target = variableCollection.getTarget();
if (target != null) {
locator = variableCollection;
GetVariableCommand variableCommand = variableCollection.getVariableCommand(target);
variableCommand.setCompletionListener(this);
target.postCommand(variableCommand);
return waitForCommand();
}
return new Object[0];
} else if (o instanceof PyStackFrame) {
PyStackFrame f = (PyStackFrame) o;
target = f.getTarget();
if (target != null) {
locator = f;
GetVariableCommand variableCommand = f.getFrameCommand(target);
variableCommand.setCompletionListener(this);
target.postCommand(variableCommand);
return waitForCommand();
}
return new Object[0];