(Type type)
| 125 | } |
| 126 | |
| 127 | private static String typeName(Type type) { |
| 128 | if (type instanceof Class) { |
| 129 | Class<?> clazz = (Class<?>) type; |
| 130 | return clazz.getName(); |
| 131 | } |
| 132 | return type.toString(); |
| 133 | } |
| 134 | |
| 135 | private static ParameterizedType makeType(final Type[] args, final Type owner, final Type raw) { |
| 136 | return new ParameterizedType() { |