diff options
-rw-r--r-- | src/core/lombok/javac/handlers/HandleLog.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lombok/javac/handlers/HandleLog.java b/src/core/lombok/javac/handlers/HandleLog.java index 652fbae0..52a308ab 100644 --- a/src/core/lombok/javac/handlers/HandleLog.java +++ b/src/core/lombok/javac/handlers/HandleLog.java @@ -70,7 +70,7 @@ public class HandleLog { if (loggingClassName.equals("void")) { loggingClassName = getSelfName(typeNode); } - createField(typeNode, loggingClassName, framework); + createField(framework, typeNode, loggingClassName); return true; default: annotationNode.addError("@Log is legal only on types."); @@ -93,7 +93,7 @@ public class HandleLog { return typeName; } - private static boolean createField(JavacNode typeNode, String loggerClassName, LoggingFramework framework) { + private static boolean createField(LoggingFramework framework, JavacNode typeNode, String loggerClassName) { TreeMaker maker = typeNode.getTreeMaker(); // private static final <loggerType> log = <factoryMethod>(<parameter>); |