diff options
Diffstat (limited to 'test/transform/resource/after-delombok/UtilityClassGeneric.java')
-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 |