mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 02:16:18 +00:00
[fixes #3274] Reset erasure_field of symbol
This commit is contained in:
1 parent
731bb18507
commit
5f0582baef
5 files changed
+66
-2
No files matched your search
@@ -0,0 +1,21 @@
|
||||
import lombok.experimental.UtilityClass;
|
||||
final @UtilityClass class UtilityClassGeneric {
|
||||
static class DTO {
|
||||
DTO() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
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;
|
||||
}
|
||||
private @java.lang.SuppressWarnings("all") UtilityClassGeneric() {
|
||||
super();
|
||||
throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user