@API(value=Experimental) public class MethodSelector extends java.lang.Object implements DiscoverySelector
DiscoverySelector that selects a Method so that
TestEngines can discover
tests or containers based on Java methods.| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<?> |
getJavaClass()
Get the Java
Class in which the selected method is declared, or a subclass thereof. |
java.lang.reflect.Method |
getJavaMethod()
Get the selected Java
Method. |
public java.lang.Class<?> getJavaClass()
Class in which the selected method is declared, or a subclass thereof.getJavaMethod()public java.lang.reflect.Method getJavaMethod()
Method.getJavaClass()