blob: 469d2d019ca62bcbcae9f1a2f7c738b7d50f7595 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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");
}
}
|