mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-12 14:15:06 +00:00
19 lines
450 B
Java
19 lines
450 B
Java
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")
|
|
@lombok.Generated
|
|
private UtilityClassGeneric() {
|
|
throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated");
|
|
}
|
|
}
|