CommandProxy proxy = (CommandProxy)function;
Object target = proxy.getTarget();
try {
return target instanceof Function ? (Function)target : function;
} finally {
proxy.ungetTarget();
}
}
private class CommandTracker {
public CommandTracker() throws Exception {