Package org.testng.internal.reflect
Interface MethodMatcher
-
- All Known Implementing Classes:
AbstractMethodMatcher,AbstractNodeMethodMatcher,ArrayEndingMethodMatcher,DataProviderMethodMatcher,DirectMethodMatcher
public interface MethodMatcherAn interface to validate conformance of input arguments to its target method.- Author:
- Nitin Verma
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanconforms()Checks if the arguments conform to the method.Object[]getConformingArguments()If possible gives an array consumable by java method invoker.
-
-
-
Method Detail
-
conforms
boolean conforms()
Checks if the arguments conform to the method.- Returns:
- conformance
-
getConformingArguments
Object[] getConformingArguments()
If possible gives an array consumable by java method invoker.- Returns:
- conforming argument array
-
-