code: private static void parseAEJava(String line,
              IteratorWithPrevious<String> it, Pipeline pipeline)
              throws ParseException {
          LOG.info("+-parsing line '{}'", line);
  
          Interpreter i = new Interpreter(); // Construct an interpreter
  
          // Eval a statement and get the result
          try {
              String script = line.replaceFirst("ae_java: ", "").trim();
              i.eval("aed = " + script + ";");
              AnalysisEngineDescription aed = (AnalysisEngineDescription) i
                      .get("aed");
              pipeline.addAe(aed);
          } catch (EvalError e) {
              e.fillInStackTrace();
              throw new ParseException(
                      "cannot compile and run 'ae_java' command, " + e.toString(),
                      -1);
          }
      }
docs: Parses an AE defined on ONE line in inline java code (interpreted)