/**
  * @param logicMethod knows how to configure this object given a parsedData object
  * @param targetObject the object that receives the logic method invocation
  * @param originalMethodArguments the arguments of the logic method
  * @param parsedData contains the parsed method data
  */
 public ParsedLogicMethod(
     LogicRoutine logicMethod,
     Object targetObject,
     List originalMethodArguments,
     LogicMethodParsingData parsedData) {
   this.logicMethod = logicMethod;
   this.targetObject = targetObject;
   this.originalMethodArguments = originalMethodArguments;
   this.parsedData = parsedData;
   logicMethod.configureParsedLogicMethod(this);
 }
 public AbstractTerm getEachSolutionTerm() {
   return logicMethod.getEachSolutionTerm(this);
 }
 public Term asGoal() {
   return logicMethod.asGoal(this);
 }