public String toString() { return Pretty.pType(this); }
public String toString() { return Pretty.pType(this); }
public String toString() { return Pretty.pType(this); }
public String toString() { return Pretty.pType(this); }
/** * Returns a pretty string for the given type * @param t A possibly null type * @return A pretty string representing the type */ public static String type(Type t) { if (t == null) return NULL_STRING; if (t instanceof Class) { return clazz((Class<?>) t); } if (t instanceof ParameterizedType) { return pType((ParameterizedType) t); } return t.toString(); }
/** * Returns a pretty string for the given type * @param t A possibly null type * @return A pretty string representing the type */ public static String type(Type t) { if (t == null) return NULL_STRING; if (t instanceof Class) { return clazz((Class<?>) t); } if (t instanceof ParameterizedType) { return pType((ParameterizedType) t); } return t.toString(); }
/** * Returns a pretty string for the given type * @param t A possibly null type * @return A pretty string representing the type */ public static String type(Type t) { if (t == null) return NULL_STRING; if (t instanceof Class) { return clazz((Class<?>) t); } if (t instanceof ParameterizedType) { return pType((ParameterizedType) t); } return t.toString(); }
/** * Returns a pretty string for the given type * @param t A possibly null type * @return A pretty string representing the type */ public static String type(Type t) { if (t == null) return NULL_STRING; if (t instanceof Class) { return clazz((Class<?>) t); } if (t instanceof ParameterizedType) { return pType((ParameterizedType) t); } return t.toString(); }