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