Package org.mockito.internal.hamcrest
Class MatcherGenericTypeExtractor
java.lang.Object
org.mockito.internal.hamcrest.MatcherGenericTypeExtractor
Extracts generic type of matcher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Class
<?> genericTypeOfMatcher
(Class<?> matcherClass) Gets the generic type of given matcher.
-
Constructor Details
-
MatcherGenericTypeExtractor
private MatcherGenericTypeExtractor()
-
-
Method Details
-
genericTypeOfMatcher
Gets the generic type of given matcher. For example, for matcher class that extends BaseMatcher[Integer] this method returns Integer
-