Lombok.ast - v0.2

lombok.ast.javac
Class JcTreePrinter

java.lang.Object
  extended by 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.


Method Summary
static void main(String[] args)
           
static JcTreePrinter printerWithoutPositions()
           
static JcTreePrinter printerWithPositions()
           
 String toString()
           
 void visit(com.sun.tools.javac.tree.JCTree tree)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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)

Lombok.ast - v0.2

Copyright © 2010-2011 The Project Lombok Authors, licensed under the MIT licence.