org.codehaus.groovy.transform
[Java] Class LogASTTransformation
java.lang.Object
org.codehaus.groovy.transform.LogASTTransformation
- All Implemented Interfaces:
- ASTTransformation
@GroovyASTTransformation(phase = CompilePhase.SEMANTIC_ANALYSIS)
public class LogASTTransformation
extends Object
This class provides an AST Transformation to add a log field to a class.
- Authors:
- Guillaume Laforge
- Jochen Theodorou
- Dinko Srkoc
- Hamlet D'Arcy
- Raffaele Cigni
- Alberto Vilches Raton
- Tomasz Bujok
- Martin Ghados
- Matthias Cullmann
DEFAULT_CATEGORY_NAME
public static final String DEFAULT_CATEGORY_NAME
- This is just a dummy value used because String annotations values can not be null.
It will be replaced by the fully qualified class name of the annotated class.
addError
public void addError(String msg, ASTNode expr, SourceUnit source)
-
visit
public void visit(ASTNode[] nodes, SourceUnit source)
-
Copyright © 2003-2013 The Codehaus. All rights reserved.