//noinspection ResultOfMethodCallIgnored
generationPlan.getGenerationDirectory().mkdirs();
ANTLR antlr = new ANTLR();
antlr.setProject(getAnt().getAntProject());
Path antlrTaskClasspath = antlr.createClasspath();
for (File dep : getAntlrClasspath()) {
antlrTaskClasspath.createPathElement().setLocation(dep);
}
antlr.setTrace(trace);
antlr.setTraceLexer(traceLexer);
antlr.setTraceParser(traceParser);
antlr.setTraceTreeWalker(traceTreeWalker);