|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glassfish.hk2.utilities.reflection.Pretty
public class Pretty
Constructor Summary | |
---|---|
Pretty()
|
Method Summary | |
---|---|
static String |
array(Object[] array)
|
static String |
clazz(Class<?> clazz)
Makes a nice, pretty class (without the package name) |
static String |
collection(Collection<?> collection)
|
static String |
constructor(Constructor<?> constructor)
Make a nice pretty string out of the constructor and all its parameters |
static String |
field(Field field)
|
static String |
method(Method method)
Makes a nice pretty string of the method, with the method name and all parameters |
static String |
pType(ParameterizedType pType)
Prints a pretty parameterized type |
static String |
type(Type t)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Pretty()
Method Detail |
---|
public static String clazz(Class<?> clazz)
clazz
- Make me a pretty class
public static String pType(ParameterizedType pType)
pType
- The parameterized type to print. May not be null
public static String type(Type t)
public static String constructor(Constructor<?> constructor)
constructor
- The constructor to make pretty
public static String method(Method method)
method
- The method to make pretty
public static String field(Field field)
public static String array(Object[] array)
public static String collection(Collection<?> collection)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |