public class FormatHelper extends Object
| Constructor and Description |
|---|
FormatHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
formatClassNameForMessage(Class<?> clazz)
Produce a nice string for a given class object.
|
static String |
formatMethodForMessage(String name,
List<org.springframework.core.convert.TypeDescriptor> argumentTypes)
Produce a nice string for a given method name with specified arguments.
|
public static String formatMethodForMessage(String name, List<org.springframework.core.convert.TypeDescriptor> argumentTypes)
name - the name of the methodargumentTypes - the types of the arguments to the methodpublic static String formatClassNameForMessage(Class<?> clazz)
clazz - The class whose name is to be formatted