spring-framework / org.springframework.util / ReflectionUtils / doWithLocalMethods

doWithLocalMethods

open static fun doWithLocalMethods(clazz: Class<*>, mc: MethodCallback): Unit

Perform the given callback operation on all matching methods of the given class, as locally declared or equivalent thereof (such as default methods on Java 8 based interfaces that the given class implements).

Parameters

clazz - the class to introspect

mc - the callback to invoke for each method

Exceptions

IllegalStateException - if introspection fails

Since
4.2

See Also
#doWithMethods