From 7d51842ca381c491d5dfb44bc76b0cea345e7170 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Wed, 11 Dec 2013 22:38:59 +0100 Subject: semi-fix for issue 602, but not complete as adding annotations to generated fields leads to crazy issues (see issue 217): generated LOG field now has @SuppressWarnings on it. --- test/transform/resource/after-delombok/InjectField.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/transform/resource/after-delombok/InjectField.java') diff --git a/test/transform/resource/after-delombok/InjectField.java b/test/transform/resource/after-delombok/InjectField.java index a9b4b1c4..59896400 100644 --- a/test/transform/resource/after-delombok/InjectField.java +++ b/test/transform/resource/after-delombok/InjectField.java @@ -4,6 +4,7 @@ enum InjectField1 { A, B; + @java.lang.SuppressWarnings("all") private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(InjectField1.class.getName()); @java.lang.SuppressWarnings("all") private final java.lang.Object $lock = new java.lang.Object[0]; @@ -34,6 +35,7 @@ enum InjectField1 { } class InjectField2 { + @java.lang.SuppressWarnings("all") private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(InjectField2.class.getName()); @java.lang.SuppressWarnings("all") private final java.lang.Object $lock = new java.lang.Object[0]; @@ -52,6 +54,7 @@ class InjectField2 { } class InjectField3 { + @java.lang.SuppressWarnings("all") private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(InjectField3.class.getName()); static { log.log(Level.FINE, "static initializer"); -- cgit