Interface FallbackDecorator

    • Method Detail

      • supports

        boolean supports​(java.lang.Class<?> target)
      • decorate

        io.vavr.CheckedFunction0<java.lang.Object> decorate​(FallbackMethod fallbackMethod,
                                                            io.vavr.CheckedFunction0<java.lang.Object> supplier)
        Parameters:
        fallbackMethod - fallback method.
        supplier - target function should be decorated.
        Returns:
        decorated function