Package org.testng.internal.reflect
Class AbstractMethodMatcher
- java.lang.Object
-
- org.testng.internal.reflect.AbstractMethodMatcher
-
- All Implemented Interfaces:
MethodMatcher
- Direct Known Subclasses:
AbstractNodeMethodMatcher,DataProviderMethodMatcher
public abstract class AbstractMethodMatcher extends java.lang.Object implements MethodMatcher
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Booleanconformsprivate MethodMatcherContextcontext
-
Constructor Summary
Constructors Constructor Description AbstractMethodMatcher(MethodMatcherContext context)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanconforms()Checks if the arguments conform to the method.protected java.lang.BooleangetConforms()protected MethodMatcherContextgetContext()protected abstract booleanhasConformance()Checks if the arguments conform to the method.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.testng.internal.reflect.MethodMatcher
getConformingArguments
-
-
-
-
Field Detail
-
context
private final MethodMatcherContext context
-
conforms
private java.lang.Boolean conforms
-
-
Constructor Detail
-
AbstractMethodMatcher
public AbstractMethodMatcher(MethodMatcherContext context)
-
-
Method Detail
-
getContext
protected MethodMatcherContext getContext()
-
getConforms
protected java.lang.Boolean getConforms()
-
conforms
public boolean conforms()
Checks if the arguments conform to the method.- Specified by:
conformsin interfaceMethodMatcher- Returns:
- conformance
-
hasConformance
protected abstract boolean hasConformance()
Checks if the arguments conform to the method.- Returns:
- conformance
-
-