|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.groovy.transform.LogASTTransformation.AbstractLoggingStrategy
groovy.util.logging.Commons.CommonsLoggingStrategy
public static class Commons.CommonsLoggingStrategy
| Field Summary |
|---|
| Fields inherited from class org.codehaus.groovy.transform.LogASTTransformation.AbstractLoggingStrategy |
|---|
loader |
| Constructor Summary | |
|---|---|
protected |
Commons.CommonsLoggingStrategy(GroovyClassLoader loader)
|
| 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 org.codehaus.groovy.transform.LogASTTransformation.AbstractLoggingStrategy |
|---|
classNode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Commons.CommonsLoggingStrategy(GroovyClassLoader loader)
| Method Detail |
|---|
public FieldNode addLoggerFieldToClass(ClassNode classNode,
java.lang.String logFieldName)
LogASTTransformation.LoggingStrategy
classNode - the class that was originally annotated with the Log transformation.logFieldName - the name of the logger field
public boolean isLoggingMethod(java.lang.String methodName)
public Expression wrapLoggingMethodCall(Expression logVariable,
java.lang.String methodName,
Expression originalExpression)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||