public String[] execute(Context context) { Declaration[] parameters = ((NativeQueryResults) context.getContextManager().getContext("__TEMP__").get(this.localId)) .getResults() .getParameters(); String[] results = new String[parameters.length]; int i = 0; for (Declaration param : parameters) { results[i] = param.getIdentifier(); i++; } return results; }
public World getContextManager() { return context.getContextManager(); }