aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/LoggerLog4j2.java
blob: bf717cb846a2ee6354ed5ddfb28986c63c3ceae1 (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
//version 8:
import lombok.extern.log4j.Log4j2;

@lombok.extern.log4j.Log4j2
class LoggerLog4j2 {
}

@Log4j2
class LoggerLog4j2WithImport {
}

@Log4j2(topic="DifferentName")
class LoggerLog4j2WithDifferentName {
}

@Log4j2(topic=LoggerLog4j2WithStaticField.TOPIC)
class LoggerLog4j2WithStaticField {
	static final String TOPIC = "StaticField";
}

@Log4j2
enum LoggerLog4j2WithEnum {
	CONSTANT;
}

class LoggerLog4j2WithInnerEnum {
	@Log4j2
	enum Inner {
		CONSTANT;
	}
}