diff options
author | Rawi01 <Rawi01@users.noreply.github.com> | 2023-01-09 23:10:45 +0100 |
---|---|---|
committer | Rawi01 <Rawi01@users.noreply.github.com> | 2023-01-09 23:11:43 +0100 |
commit | 5f0582baeff8e0b69848c895454cb0684ae14a4c (patch) | |
tree | d340c6feaccd26cdb5b7d782cb3798bb76c652ca /test/transform/resource/after-delombok | |
parent | 731bb185077918af8bc1e6a9e6bb538b2d3fbbd8 (diff) | |
download | lombok-5f0582baeff8e0b69848c895454cb0684ae14a4c.tar.gz lombok-5f0582baeff8e0b69848c895454cb0684ae14a4c.tar.bz2 lombok-5f0582baeff8e0b69848c895454cb0684ae14a4c.zip |
[fixes #3274] Reset erasure_field of symbol
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r-- | test/transform/resource/after-delombok/UtilityClassGeneric.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/UtilityClassGeneric.java b/test/transform/resource/after-delombok/UtilityClassGeneric.java new file mode 100644 index 00000000..469d2d01 --- /dev/null +++ b/test/transform/resource/after-delombok/UtilityClassGeneric.java @@ -0,0 +1,21 @@ +final class UtilityClassGeneric { + static <T> T convertValue(Class<T> toValueType) { + return null; + } + + static DTO convert(Object json) { + return convertValue(DTO.class); + } + + static Object convert(DTO dto) { + return null; + } + + static class DTO { + } + + @java.lang.SuppressWarnings("all") + private UtilityClassGeneric() { + throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated"); + } +}
\ No newline at end of file |