Groovy 1.8.4

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


Nested Class Summary
interface LogASTTransformation.LoggingStrategy

A LoggingStrategy defines how to wire a new logger instance into an existing class.

 
Method Summary
void addError(String msg, ASTNode expr, SourceUnit source)

void visit(ASTNode[] nodes, SourceUnit source)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Method Detail

addError

public void addError(String msg, ASTNode expr, SourceUnit source)


visit

public void visit(ASTNode[] nodes, SourceUnit source)


 

Copyright © 2003-2011 The Codehaus. All rights reserved.