aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/GetterLazyGenerics.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/GetterLazyGenerics.java')
-rw-r--r--test/transform/resource/before/GetterLazyGenerics.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/transform/resource/before/GetterLazyGenerics.java b/test/transform/resource/before/GetterLazyGenerics.java
new file mode 100644
index 00000000..50ca1c33
--- /dev/null
+++ b/test/transform/resource/before/GetterLazyGenerics.java
@@ -0,0 +1,11 @@
+class GetterLazyGenerics<E> {
+ @lombok.Getter(lazy=true)
+ private final E field = getAny();
+
+ @lombok.Getter(lazy=true)
+ private final long field2 = System.currentTimeMillis();
+
+ public static <E> E getAny() {
+ return null;
+ }
+} \ No newline at end of file