Class StaticMethodInstanceFactory<T>

    • Field Detail

      • type

        private final java.lang.Class<T> type
      • method

        private final java.util.function.Function<java.lang.Object[],​java.lang.Object> method
    • Constructor Detail

      • StaticMethodInstanceFactory

        StaticMethodInstanceFactory​(java.lang.Class<T> type,
                                    java.lang.reflect.Method method)
    • Method Detail

      • isStaticFactoryMethodFor

        private static boolean isStaticFactoryMethodFor​(java.lang.reflect.Method method,
                                                        java.lang.Class<?> type)