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;
 }
コード例 #2
0
 public World getContextManager() {
   return context.getContextManager();
 }