Class MatcherGenericTypeExtractor


  • public final class MatcherGenericTypeExtractor
    extends java.lang.Object
    Extracts generic type of matcher
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.Class<?> genericTypeOfMatcher​(java.lang.Class<?> matcherClass)
      Gets the generic type of given matcher.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MatcherGenericTypeExtractor

        private MatcherGenericTypeExtractor()
    • Method Detail

      • genericTypeOfMatcher

        public static java.lang.Class<?> genericTypeOfMatcher​(java.lang.Class<?> matcherClass)
        Gets the generic type of given matcher. For example, for matcher class that extends BaseMatcher[Integer] this method returns Integer