public class FormatHelper extends Object
| Constructor and Description | 
|---|
FormatHelper()  | 
| Modifier and Type | Method and Description | 
|---|---|
static String | 
formatClassNameForMessage(Class<?> clazz)
Determine a readable name for a given Class object. 
 | 
static String | 
formatMethodForMessage(String name,
                      List<TypeDescriptor> argumentTypes)
Produce a readable representation for a given method name with specified arguments. 
 | 
public static String formatMethodForMessage(String name, List<TypeDescriptor> argumentTypes)
name - the name of the methodargumentTypes - the types of the arguments to the methodfoo(String,int)public static String formatClassNameForMessage(Class<?> clazz)
A String array will have the formatted name "java.lang.String[]".
clazz - the Class whose name is to be formattedClassUtils.getQualifiedName(Class)