aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/LoggerLog4j.java
blob: 4d67b13359bd086910b97d3a61f1781e2ddab7f7 (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.Log4j;
@lombok.extern.log4j.Log4j class LoggerLog4j {
  private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(LoggerLog4j.class);
  <clinit>() {
  }
  LoggerLog4j() {
    super();
  }
}
@Log4j class LoggerLog4jWithImport {
  private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(LoggerLog4jWithImport.class);
  <clinit>() {
  }
  LoggerLog4jWithImport() {
    super();
  }
}
@Log4j(topic = "DifferentName") class LoggerLog4jWithDifferentName {
  private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger("DifferentName");
  <clinit>() {
  }
  LoggerLog4jWithDifferentName() {
    super();
  }
}
@Log4j(topic = LoggerLog4jWithStaticField.TOPIC) class LoggerLog4jWithStaticField {
  private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(LoggerLog4jWithStaticField.TOPIC);
  static final String TOPIC = "StaticField";
  <clinit>() {
  }
  LoggerLog4jWithStaticField() {
    super();
  }
}
@Log4j enum LoggerLog4jWithEnum {
  CONSTANT(),
  private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(LoggerLog4jWithEnum.class);
  <clinit>() {
  }
  LoggerLog4jWithEnum() {
    super();
  }
}
class LoggerLog4jWithInnerEnum {
  @Log4j enum Inner {
    CONSTANT(),
    private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(Inner.class);
    <clinit>() {
    }
    Inner() {
      super();
    }
  }
  LoggerLog4jWithInnerEnum() {
    super();
  }
}