Source:
public void runQuery(final VdcQueryType queryType, final VdcQueryParametersBase parameters, final AsyncQuery callback, final boolean isPublic) { initQueryParamsFilter(parameters); final VdcOperation<VdcQueryType, VdcQueryParametersBase> operation = new VdcOperation<VdcQueryType, VdcQueryParametersBase>(queryType, parameters, isPublic, new VdcOperationCallback<VdcOperation<VdcQueryType, VdcQueryParametersBase>, VdcQueryReturnValue>() { @Override public void onSuccess(final VdcOperation<VdcQueryType, VdcQueryParametersBase> operation, final VdcQueryReturnValue result) { try { if (!result.getSucceeded()) { logger.log(Level.WARNING, "Failure while invoking ReturnQuery [" + result.getExceptionString() + "]"); if (getEventsHandler() != null) { ArrayList<VdcQueryReturnValue> failedResult = new ArrayList<VdcQueryReturnValue>(); failedResult.add(result); String errorMessage = result.getExceptionString(); handleNotLoggedInEvent(errorMessage); } if (callback.isHandleFailure()) { callback.getDel().onSuccess(callback.getModel(), result); } } else { callback.setOriginalReturnValue(result); if (callback.getConverter() != null) { callback.getDel().onSuccess(callback.getModel(), callback.getConverter().Convert(result.getReturnValue(), callback)); } else { callback.getDel().onSuccess(callback.getModel(), result); } } } finally { raiseQueryCompleteEvent(queryType, callback.getContext()); } } @Override public void onFailure(final VdcOperation<VdcQueryType, VdcQueryParametersBase> operation, final Throwable caught) { try { if (ignoreFailure(caught)) { return; } logger.log(Level.SEVERE, "Failed to execute RunQuery: " + caught, caught); getEventsHandler().runQueryFailed(null); failureEventHandler(caught); if (callback.isHandleFailure()) { callback.getDel().onSuccess(callback.getModel(), null); } } finally { raiseQueryCompleteEvent(queryType, callback.getContext()); } } }); raiseQueryStartedEvent(queryType, callback.getContext()); if (isPublic) { getInstance().getOperationManager().addPublicOperation(operation); } else { getInstance().getOperationManager().addOperation(operation); } }

Target:
public void runQuery(final VdcQueryType queryType, final VdcQueryParametersBase parameters, final AsyncQuery callback, final boolean isPublic) { initQueryParamsFilter(parameters); final VdcOperation<VdcQueryType, VdcQueryParametersBase> operation = new VdcOperation<VdcQueryType, VdcQueryParametersBase>(queryType, parameters, isPublic, new VdcOperationCallback<VdcOperation<VdcQueryType, VdcQueryParametersBase>, VdcQueryReturnValue>() { @Override public void onSuccess(final VdcOperation<VdcQueryType, VdcQueryParametersBase> operation, final VdcQueryReturnValue result) { try { if (!result.getSucceeded()) { logger.log(Level.WARNING, "Failure while invoking runQuery [" + result.getExceptionString() + "]"); if (getEventsHandler() != null) { ArrayList<VdcQueryReturnValue> failedResult = new ArrayList<VdcQueryReturnValue>(); failedResult.add(result); String errorMessage = result.getExceptionString(); handleNotLoggedInEvent(errorMessage); } if (callback.isHandleFailure()) { callback.getDel().onSuccess(callback.getModel(), result); } } else { callback.setOriginalReturnValue(result); if (callback.getConverter() != null) { callback.getDel().onSuccess(callback.getModel(), callback.getConverter().Convert(result.getReturnValue(), callback)); } else { callback.getDel().onSuccess(callback.getModel(), result); } } } finally { raiseQueryCompleteEvent(queryType, callback.getContext()); } } @Override public void onFailure(final VdcOperation<VdcQueryType, VdcQueryParametersBase> operation, final Throwable caught) { try { if (ignoreFailure(caught)) { return; } logger.log(Level.SEVERE, "Failed to execute runQuery: " + caught, caught); getEventsHandler().runQueryFailed(null); failureEventHandler(caught); if (callback.isHandleFailure()) { callback.getDel().onSuccess(callback.getModel(), null); } } finally { raiseQueryCompleteEvent(queryType, callback.getContext()); } } }); raiseQueryStartedEvent(queryType, callback.getContext()); if (isPublic) { getInstance().getOperationManager().addPublicOperation(operation); } else { getInstance().getOperationManager().addOperation(operation); } }