spring-framework / org.springframework.expression.spel.ast / FormatHelper

FormatHelper

open class FormatHelper

Utility methods (formatters, etc) used during parsing and evaluation.

Author
Andy Clement

Constructors

<init>

FormatHelper()

Utility methods (formatters, etc) used during parsing and evaluation.

Functions

formatClassNameForMessage

open static fun formatClassNameForMessage(clazz: Class<*>): String

Determine a readable name for a given Class object.

A String array will have the formatted name "java.lang.String[]".

formatMethodForMessage

open static fun formatMethodForMessage(name: String, argumentTypes: MutableList<TypeDescriptor>): String

Produce a readable representation for a given method name with specified arguments.