| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| public static String | |
| public static String | Returns: A pretty string representing the collectionA possibly null collection to represent collection)Returns a pretty string representing the collection |
| public static String | Returns: A nice pretty stringThe constructor to make pretty constructor)Make a nice pretty string out of the constructor and all its parameters |
| public static String | |
| public static String | |
| private static String | |
| public static String | Returns: A pretty string version of the parameterized typeThe parameterized type to print. May not be null pType)Prints a pretty parameterized type |
| public static String |
| CONSTRUCTOR_NAME | back to summary |
|---|---|
| private static final String CONSTRUCTOR_NAME | |
| DOT | back to summary |
|---|---|
| private static final String DOT | |
| NULL_STRING | back to summary |
|---|---|
| private static final String NULL_STRING | |
| Pretty | back to summary |
|---|---|
| public Pretty() | |
| array | back to summary |
|---|---|
| public static String array(Object[] array) Returns a pretty string for the given array | |
| clazz | back to summary |
|---|---|
| public static String clazz(Class<?> clazz) Makes a nice, pretty class (without the package name) | |
| collection | back to summary |
|---|---|
| public static String collection(Collection<?> collection) Returns a pretty string representing the collection
| |
| constructor | back to summary |
|---|---|
| public static String constructor(Constructor<?> constructor) Make a nice pretty string out of the constructor and all its parameters
| |
| field | back to summary |
|---|---|
| public static String field(Field field) Returns a pretty string representing a Field | |
| method | back to summary |
|---|---|
| public static String method(Method method) Makes a nice pretty string of the method, with the method name and all parameters | |
| prettyPrintParameters | back to summary |
|---|---|
| private static String prettyPrintParameters(Class<?>[] params) | |
| pType | back to summary |
|---|---|
| public static String pType(ParameterizedType pType) Prints a pretty parameterized type
| |
| type | back to summary |
|---|---|
| public static String type(Type t) Returns a pretty string for the given type | |