Lombok.ast - v0.2

lombok.ast
Class Ast

java.lang.Object
  extended by lombok.ast.Ast

public class Ast
extends Object

Contains utility methods for traversing and manipulating ASTs.


Constructor Summary
Ast()
           
 
Method Summary
static String getVersion()
          Get the current lombok.ast version.
static Node setAllPositions(Node node, Position position)
          Sets the position of node to position, and then does the same for all of node's children, recursively.
static CompilationUnit upToTop(Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ast

public Ast()
Method Detail

setAllPositions

public static Node setAllPositions(Node node,
                                   Position position)
Sets the position of node to position, and then does the same for all of node's children, recursively.


getVersion

public static String getVersion()
Get the current lombok.ast version.


upToTop

public static CompilationUnit upToTop(Node node)

Lombok.ast - v0.2

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