Griffon 1.2.0

org.codehaus.griffon.compiler
[Java] Interface LoggingInjectionOperation.LoggingStrategy


public interface LoggingInjectionOperation.LoggingStrategy

A LoggingStrategy defines how to wire a new logger instance into an existing class. It is meant to be used with the

Log:
family of annotations to allow you to write your own Log annotation provider.


Method Summary
boolean isLoggingMethod(String methodName)

Expression wrapLoggingMethodCall(Expression logVariable, String methodName, Expression originalExpression, SourceUnit source)

 

Method Detail

isLoggingMethod

public boolean isLoggingMethod(String methodName)


wrapLoggingMethodCall

public Expression wrapLoggingMethodCall(Expression logVariable, String methodName, Expression originalExpression, SourceUnit source)


 

Groovy Documentation