Returns human readable string representation of type. For array type Foo[], "com.mypackage.Foo[]" are returned. For any class, theClass.getName() are returned. For all other types, type.toString() are returned.
(Type type)
| 183 | |
| 184 | |
| 185 | static String toString(Type type) { |
| 186 | return (type instanceof Class) ? ((Class<?>) type).getName() : type.toString(); |
| 187 | } |
| 188 | |
| 189 | @Nullable |
| 190 | static Type getComponentType(Type type) { |