aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/LoggerJul.java
diff options
context:
space:
mode:
authorvarkart <44122128+varkart@users.noreply.github.com>2022-02-17 13:05:55 -0500
committervarkart <44122128+varkart@users.noreply.github.com>2022-02-17 13:05:55 -0500
commit0f3cff22881cd2e95e9f71f71cac571d1d23be47 (patch)
tree1d13a2bd90c0bd1204e586650b18eaa51f1352eb /test/transform/resource/after-ecj/LoggerJul.java
parent082ac2c3755f92ef964aee43b75fbaedc248ef1a (diff)
downloadlombok-0f3cff22881cd2e95e9f71f71cac571d1d23be47.tar.gz
lombok-0f3cff22881cd2e95e9f71f71cac571d1d23be47.tar.bz2
lombok-0f3cff22881cd2e95e9f71f71cac571d1d23be47.zip
[fixes #2990, #3069] jul logger enum test cases
Diffstat (limited to 'test/transform/resource/after-ecj/LoggerJul.java')
-rw-r--r--test/transform/resource/after-ecj/LoggerJul.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/LoggerJul.java b/test/transform/resource/after-ecj/LoggerJul.java
index 20cc5407..d1408245 100644
--- a/test/transform/resource/after-ecj/LoggerJul.java
+++ b/test/transform/resource/after-ecj/LoggerJul.java
@@ -31,4 +31,27 @@ import lombok.extern.java.Log;
LoggerJulWithStaticField() {
super();
}
+}
+@Log enum LoggerJulWithEnum {
+ CONSTANT(),
+ private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(LoggerJulWithEnum.class.getName());
+ <clinit>() {
+ }
+ LoggerJulWithEnum() {
+ super();
+ }
+}
+class LoggerJulWithInnerEnum {
+ @Log enum Inner {
+ CONSTANT(),
+ private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(Inner.class.getName());
+ <clinit>() {
+ }
+ Inner() {
+ super();
+ }
+ }
+ LoggerJulWithInnerEnum() {
+ super();
+ }
} \ No newline at end of file