@Internal public final class WrappingProxyUtil extends Object
WrappingProxy
.Modifier and Type | Method and Description |
---|---|
static <T> T |
stripProxy(WrappingProxy<T> wrappingProxy)
Expects a proxy, and returns the unproxied delegate.
|
public static <T> T stripProxy(@Nullable WrappingProxy<T> wrappingProxy)
T
- The type of the delegate. Note that all proxies in the chain must be assignable to
T.wrappingProxy
- The initial proxy.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.