Add public getDeclaredMethods method to ReflectionUtils #22580
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Although we can't directly expose the raw array of declared methods that we cache, there is still some benefit in having a public method that exposes a cloned copy. Specifically allows us to save security checks and it reduces the number of
Method
instances created. It's also often faster than callingdoWithLocalMethods
and needing to create a callback.The text was updated successfully, but these errors were encountered: