public class TransformEclipseAST
extends java.lang.Object
methodDeclaration.bits |= ASTNode.Bit24; //0x800000
Modifier and Type | Field and Description |
---|---|
static boolean |
disableLombok |
Constructor and Description |
---|
TransformEclipseAST(EclipseAST ast) |
Modifier and Type | Method and Description |
---|---|
static EclipseAST |
getAST(org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration ast,
boolean forceRebuild) |
void |
go()
First handles all lombok annotations except PrintAST, then calls all non-annotation based handlers.
|
static void |
transform_swapped(org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration ast,
org.eclipse.jdt.internal.compiler.parser.Parser parser) |
static void |
transform(org.eclipse.jdt.internal.compiler.parser.Parser parser,
org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration ast)
This method is called immediately after Eclipse finishes building a CompilationUnitDeclaration, which is
the top-level AST node when Eclipse parses a source file.
|
public TransformEclipseAST(EclipseAST ast)
public static void transform_swapped(org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration ast, org.eclipse.jdt.internal.compiler.parser.Parser parser)
public static EclipseAST getAST(org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration ast, boolean forceRebuild)
public static void transform(org.eclipse.jdt.internal.compiler.parser.Parser parser, org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration ast)
parser
- The Eclipse parser object that generated the AST. Not actually used; mostly there to satisfy parameter rules for lombok.patcher scripts.ast
- The AST node belonging to the compilation unit (java speak for a single source file).public void go()
Copyright © 2009-2015 The Project Lombok Authors, licensed under the MIT licence.