public interface MethodResolver
| Modifier and Type | Method and Description |
|---|---|
java.lang.reflect.Method |
findMethod(java.lang.Class<?> clazz)
Find a single Method on the given Class that matches this
resolver's criteria.
|
java.lang.reflect.Method |
findMethod(java.lang.Object candidate)
Find a single Method on the provided Object that matches this resolver's
criteria.
|
@Nullable
java.lang.reflect.Method findMethod(java.lang.Object candidate)
throws java.lang.IllegalArgumentException
candidate - the candidate Object whose Class should be searched for
a Methodnull if no Method matching this
resolver's criteria can be found.java.lang.IllegalArgumentException - if more than one Method defined on the
given candidate's Class matches this resolver's criteria@Nullable java.lang.reflect.Method findMethod(java.lang.Class<?> clazz)
clazz - the Class instance on which to search for a Methodnull if no Method matching this
resolver's criteria can be found.java.lang.IllegalArgumentException - if more than one Method defined on the
given Class matches this resolver's criteria