|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.expression.spel.ast.FormatHelper
public class FormatHelper
Utility methods (formatters, etc) used during parsing and evaluation.
Constructor Summary | |
---|---|
FormatHelper()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FormatHelper()
Method Detail |
---|
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 method
public static java.lang.String formatClassNameForMessage(java.lang.Class<?> clazz)
clazz
- The class whose name is to be formatted
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |