getUniqueDeclaredMethods

open fun getUniqueDeclaredMethods(leafClass: Class<out Any>): Array<Method>

Get the unique set of declared methods on the leaf class and all superclasses. Leaf class methods are included first and while traversing the superclass hierarchy any methods found with signatures matching a method already included are filtered out.

Parameters

leafClass

the class to introspect

Throws

if introspection fails


open fun getUniqueDeclaredMethods(leafClass: Class<out Any>, @Nullable mf: @Nullable ReflectionUtils.MethodFilter): Array<Method>

Get the unique set of declared methods on the leaf class and all superclasses. Leaf class methods are included first and while traversing the superclass hierarchy any methods found with signatures matching a method already included are filtered out.

Since

5.2

Parameters

leafClass

the class to introspect

mf

the filter that determines the methods to take into account

Throws

if introspection fails