Given a SpEL expression such as new String[3]
, an invocation of toStringAST()
on the parsed SpelExpression
results in new String()
instead of new String[3]
.
This is due to the fact that implementation of toStringAST()
in ConstructorReference
does not take arrays into consideration.