lombok.ast.javac
Class JcTreePrinter
java.lang.Object
lombok.ast.javac.JcTreePrinter
public class JcTreePrinter
- extends Object
Diagnostic tool that turns a JCTree
(javac) based tree into a hierarchical dump that should make
it easy to analyse the exact structure of the AST.
printerWithPositions
public static JcTreePrinter printerWithPositions()
printerWithoutPositions
public static JcTreePrinter printerWithoutPositions()
toString
public String toString()
- Overrides:
toString
in class Object
main
public static void main(String[] args)
throws IOException
- Throws:
IOException
visit
public void visit(com.sun.tools.javac.tree.JCTree tree)
Copyright © 2010-2011 The Project Lombok Authors, licensed under the MIT licence.