java.lang.Object
io.lettuce.core.internal.DefaultMethods
public class DefaultMethods extends Object
Collection of utility methods to lookup
MethodHandles for default interface Methods. This class is part of
the internal API and may change without further notice.- Since:
- 4.4
- Author:
- Mark Paluch
-
Constructor Summary
Constructors Constructor Description DefaultMethods() -
Method Summary
Modifier and Type Method Description static MethodHandlelookupMethodHandle(Method method)Lookup aMethodHandlefor a defaultMethod.
-
Constructor Details
-
DefaultMethods
public DefaultMethods()
-
-
Method Details
-
lookupMethodHandle
Lookup aMethodHandlefor a defaultMethod.- Parameters:
method- must be adefaultMethod.- Returns:
- the
MethodHandle. - Throws:
ReflectiveOperationException
-