|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MethodResolver
Strategy interface for detecting a single Method on a Class.
Method Summary | |
---|---|
Method |
findMethod(Class<?> clazz)
Find a single Method on the given Class that matches this resolver's criteria. |
Method |
findMethod(Object candidate)
Find a single Method on the provided Object that matches this resolver's criteria. |
Method Detail |
---|
Method findMethod(Object candidate) throws IllegalArgumentException
candidate
- the candidate Object whose Class should be searched for
a Method
null
if no Method matching this
resolver's criteria can be found.
IllegalArgumentException
- if more than one Method defined on the
given candidate's Class matches this resolver's criteriaMethod findMethod(Class<?> clazz)
clazz
- the Class instance on which to search for a Method
null
if no Method matching this
resolver's criteria can be found.
IllegalArgumentException
- if more than one Method defined on the
given Class matches this resolver's criteria
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |