public class DefaultMethods extends Object
MethodHandle
s for default interface Method
s. This class is part of
the internal API and may change without further notice.Constructor and Description |
---|
DefaultMethods() |
Modifier and Type | Method and Description |
---|---|
static MethodHandle |
lookupMethodHandle(Method method)
Lookup a
MethodHandle for a default Method . |
public static MethodHandle lookupMethodHandle(Method method) throws ReflectiveOperationException
MethodHandle
for a default Method
.method
- must be a default
Method
.MethodHandle
.ReflectiveOperationException
Copyright © 2019 lettuce.io. All rights reserved.