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

formatClassNameForMessage

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

Determine a readable name for a given Class object.

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

Parameters

clazz - the Class whose name is to be formatted

Return
a formatted String suitable for message inclusion

See Also
ClassUtils#getQualifiedName(Class)