aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-ecj')
-rw-r--r--test/transform/resource/after-ecj/LoggerCustom.java21
-rw-r--r--test/transform/resource/after-ecj/LoggerCustomWithPackage.java22
-rw-r--r--test/transform/resource/after-ecj/LoggerCustomWithTopicAndName.java16
3 files changed, 59 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/LoggerCustom.java b/test/transform/resource/after-ecj/LoggerCustom.java
new file mode 100644
index 00000000..2f60b7b6
--- /dev/null
+++ b/test/transform/resource/after-ecj/LoggerCustom.java
@@ -0,0 +1,21 @@
+@lombok.CustomLog class LoggerCustomLog {
+ private static final MyLogger log = MyLoggerFactory.create(LoggerCustomLog.class);
+ <clinit>() {
+ }
+ LoggerCustomLog() {
+ super();
+ }
+}
+class MyLoggerFactory {
+ MyLoggerFactory() {
+ super();
+ }
+ static MyLogger create(Class<?> clazz) {
+ return null;
+ }
+}
+class MyLogger {
+ MyLogger() {
+ super();
+ }
+} \ No newline at end of file
diff --git a/test/transform/resource/after-ecj/LoggerCustomWithPackage.java b/test/transform/resource/after-ecj/LoggerCustomWithPackage.java
new file mode 100644
index 00000000..d1bc1704
--- /dev/null
+++ b/test/transform/resource/after-ecj/LoggerCustomWithPackage.java
@@ -0,0 +1,22 @@
+package before;
+@lombok.CustomLog class LoggerCustomLog {
+ private static final before.MyLogger log = before.MyLoggerFactory.create(LoggerCustomLog.class);
+ <clinit>() {
+ }
+ LoggerCustomLog() {
+ super();
+ }
+}
+class MyLoggerFactory {
+ MyLoggerFactory() {
+ super();
+ }
+ static MyLogger create(Class<?> clazz) {
+ return null;
+ }
+}
+class MyLogger {
+ MyLogger() {
+ super();
+ }
+} \ No newline at end of file
diff --git a/test/transform/resource/after-ecj/LoggerCustomWithTopicAndName.java b/test/transform/resource/after-ecj/LoggerCustomWithTopicAndName.java
new file mode 100644
index 00000000..91cf6d8d
--- /dev/null
+++ b/test/transform/resource/after-ecj/LoggerCustomWithTopicAndName.java
@@ -0,0 +1,16 @@
+@lombok.CustomLog(topic = "t") class LoggerCustomLog {
+ private static final MyLoggerFactory log = MyLoggerFactory.create(LoggerCustomLog.class.getName(), "t", null, LoggerCustomLog.class, "t");
+ <clinit>() {
+ }
+ LoggerCustomLog() {
+ super();
+ }
+}
+class MyLoggerFactory {
+ MyLoggerFactory() {
+ super();
+ }
+ static MyLoggerFactory create(String name, String t1, Object o, Class<?> clazz, String t2) {
+ return null;
+ }
+}