Class WrappingProxyUtil

    • Method Detail

      • stripProxy

        public static <T> T stripProxy​(@Nullable
                                       WrappingProxy<T> wrappingProxy)
        Expects a proxy, and returns the unproxied delegate.
        Type Parameters:
        T - The type of the delegate. Note that all proxies in the chain must be assignable to T.
        Parameters:
        wrappingProxy - The initial proxy.
        Returns:
        The unproxied delegate.