doWithMethods

Perform the given callback operation on all matching methods of the given class and superclasses.

The same named method occurring on subclass and superclass will appear twice, unless excluded by a MethodFilter.

Parameters

clazz

the class to introspect

mc

the callback to invoke for each method

See also

Throws

if introspection fails


open fun doWithMethods(clazz: Class<out Any>, mc: ReflectionUtils.MethodCallback, @Nullable mf: @Nullable ReflectionUtils.MethodFilter)

Perform the given callback operation on all matching methods of the given class and superclasses (or given interface and super-interfaces).

The same named method occurring on subclass and superclass will appear twice, unless excluded by the specified MethodFilter.

Parameters

clazz

the class to introspect

mc

the callback to invoke for each method

mf

the filter that determines the methods to apply the callback to

Throws

if introspection fails