|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgroovy.util.logging.Commons.CommonsLoggingStrategy
public static class Commons.CommonsLoggingStrategy
| Constructor Summary | |
|---|---|
Commons.CommonsLoggingStrategy()
|
|
| Method Summary | |
|---|---|
FieldNode |
addLoggerFieldToClass(ClassNode classNode,
java.lang.String logFieldName)
In this method, you are given a ClassNode and a field name, and you must add a new Field onto the class. |
boolean |
isLoggingMethod(java.lang.String methodName)
|
Expression |
wrapLoggingMethodCall(Expression logVariable,
java.lang.String methodName,
Expression originalExpression)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Commons.CommonsLoggingStrategy()
| Method Detail |
|---|
public FieldNode addLoggerFieldToClass(ClassNode classNode,
java.lang.String logFieldName)
LogASTTransformation.LoggingStrategy
addLoggerFieldToClass in interface LogASTTransformation.LoggingStrategyclassNode - the class that was originally annotated with the Log transformation.logFieldName - the name of the logger field
public boolean isLoggingMethod(java.lang.String methodName)
isLoggingMethod in interface LogASTTransformation.LoggingStrategy
public Expression wrapLoggingMethodCall(Expression logVariable,
java.lang.String methodName,
Expression originalExpression)
wrapLoggingMethodCall in interface LogASTTransformation.LoggingStrategy
|
Copyright © 2003-2012 The Codehaus. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||