public static void main(String[] args) throws Exception {
        for (String file : args) {
            System.out.println("Opening " + file);
            CompilationUnit cu = new JavaParser().parse(new File(file)).getResult().get();
            new TraceVisitor(System.out, false).visit(cu, null);
            System.out.println();
            System.out.println();
            System.out.println();
        }
    }
This is a little hand cranked, perhaps hacked together util to take a Java
file and dump a trace of where the visitor goes. Helpful for debugging and
getting an idea on how to manipulate the AST.
jctools-build/src/main/java/org/jctools/queues/atomic/TraceVisitor.java