Class ReflectiveTypeFinder

    • Constructor Detail

    • Method Detail

      • canObtainExpectedTypeFrom

        protected boolean canObtainExpectedTypeFrom​(Method method)
        Parameters:
        method - The method to examine.
        Returns:
        true if this method references the relevant type
      • expectedTypeFrom

        protected Class<?> expectedTypeFrom​(Method method)
        Parameters:
        method - The method from which to extract
        Returns:
        The type we're looking for