aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2023-01-09 23:10:45 +0100
committerRawi01 <Rawi01@users.noreply.github.com>2023-01-09 23:11:43 +0100
commit5f0582baeff8e0b69848c895454cb0684ae14a4c (patch)
treed340c6feaccd26cdb5b7d782cb3798bb76c652ca /test/transform/resource/before
parent731bb185077918af8bc1e6a9e6bb538b2d3fbbd8 (diff)
downloadlombok-5f0582baeff8e0b69848c895454cb0684ae14a4c.tar.gz
lombok-5f0582baeff8e0b69848c895454cb0684ae14a4c.tar.bz2
lombok-5f0582baeff8e0b69848c895454cb0684ae14a4c.zip
[fixes #3274] Reset erasure_field of symbol
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r--test/transform/resource/before/UtilityClassGeneric.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/transform/resource/before/UtilityClassGeneric.java b/test/transform/resource/before/UtilityClassGeneric.java
new file mode 100644
index 00000000..dcca51b4
--- /dev/null
+++ b/test/transform/resource/before/UtilityClassGeneric.java
@@ -0,0 +1,18 @@
+import lombok.experimental.UtilityClass;
+@UtilityClass
+class UtilityClassGeneric {
+ <T> T convertValue(Class<T> toValueType) {
+ return null;
+ }
+
+ DTO convert(Object json) {
+ return convertValue(DTO.class);
+ }
+
+ Object convert(DTO dto) {
+ return null;
+ }
+
+ class DTO {
+ }
+}