diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2022-03-17 21:32:31 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2022-03-17 21:32:31 +0100 |
commit | 3a4f0e08dbb82fdf93b04da2b0876563e96e13b7 (patch) | |
tree | c1acfdd0a1824908a1ca4a44a2eac0567725e2f6 /test/transform/resource/after-ecj/LoggerLog4j2.java | |
parent | 70bda546114ceccc7714bd6060d96edbcd25e3a0 (diff) | |
parent | 3679fcee8c6023904eb87821d0e3b7ca4f4f74fb (diff) | |
download | lombok-3a4f0e08dbb82fdf93b04da2b0876563e96e13b7.tar.gz lombok-3a4f0e08dbb82fdf93b04da2b0876563e96e13b7.tar.bz2 lombok-3a4f0e08dbb82fdf93b04da2b0876563e96e13b7.zip |
Merge branch 'fix-enum-logging' of https://github.com/varkart/lombok into varkart-fix-enum-logging
Diffstat (limited to 'test/transform/resource/after-ecj/LoggerLog4j2.java')
-rw-r--r-- | test/transform/resource/after-ecj/LoggerLog4j2.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/LoggerLog4j2.java b/test/transform/resource/after-ecj/LoggerLog4j2.java index 88def98d..72d4ff5f 100644 --- a/test/transform/resource/after-ecj/LoggerLog4j2.java +++ b/test/transform/resource/after-ecj/LoggerLog4j2.java @@ -31,4 +31,27 @@ import lombok.extern.log4j.Log4j2; LoggerLog4j2WithStaticField() { super(); } +} +@Log4j2 enum LoggerLog4j2WithEnum { + CONSTANT(), + private static final org.apache.logging.log4j.Logger log = org.apache.logging.log4j.LogManager.getLogger(LoggerLog4j2WithEnum.class); + <clinit>() { + } + LoggerLog4j2WithEnum() { + super(); + } +} +class LoggerLog4j2WithInnerEnum { + @Log4j2 enum Inner { + CONSTANT(), + private static final org.apache.logging.log4j.Logger log = org.apache.logging.log4j.LogManager.getLogger(Inner.class); + <clinit>() { + } + Inner() { + super(); + } + } + LoggerLog4j2WithInnerEnum() { + super(); + } }
\ No newline at end of file |