aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/LoggerLog4j2.java
blob: 72d4ff5fd85381276aeae5ed9d70e864e80d5ec8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import lombok.extern.log4j.Log4j2;
@lombok.extern.log4j.Log4j2 class LoggerLog4j2 {
  private static final org.apache.logging.log4j.Logger log = org.apache.logging.log4j.LogManager.getLogger(LoggerLog4j2.class);
  <clinit>() {
  }
  LoggerLog4j2() {
    super();
  }
}
@Log4j2 class LoggerLog4j2WithImport {
  private static final org.apache.logging.log4j.Logger log = org.apache.logging.log4j.LogManager.getLogger(LoggerLog4j2WithImport.class);
  <clinit>() {
  }
  LoggerLog4j2WithImport() {
    super();
  }
}
@Log4j2(topic = "DifferentName") class LoggerLog4j2WithDifferentName {
  private static final org.apache.logging.log4j.Logger log = org.apache.logging.log4j.LogManager.getLogger("DifferentName");
  <clinit>() {
  }
  LoggerLog4j2WithDifferentName() {
    super();
  }
}
@Log4j2(topic = LoggerLog4j2WithStaticField.TOPIC) class LoggerLog4j2WithStaticField {
  private static final org.apache.logging.log4j.Logger log = org.apache.logging.log4j.LogManager.getLogger(LoggerLog4j2WithStaticField.TOPIC);
  static final String TOPIC = "StaticField";
  <clinit>() {
  }
  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();
  }
}