@HashCodeAndEqualsPlugin.Enhance public static class DefaultCallHandle.Binder.DefaultMethodLocator.Explicit extends Object implements DefaultCallHandle.Binder.DefaultMethodLocator
DefaultCallHandle.Binder.DefaultMethodLocator.Explicit, DefaultCallHandle.Binder.DefaultMethodLocator.Implicit| Constructor and Description |
|---|
Explicit(TypeDescription typeDescription)
Creates a new explicit default method locator.
|
| Modifier and Type | Method and Description |
|---|---|
Implementation.SpecialMethodInvocation |
resolve(Implementation.Target implementationTarget,
MethodDescription source)
Locates the correct default method to a given source method.
|
public Explicit(TypeDescription typeDescription)
typeDescription - The actual target interface as explicitly defined by
DefaultCallHandle.targetType().public Implementation.SpecialMethodInvocation resolve(Implementation.Target implementationTarget, MethodDescription source)
resolve in interface DefaultCallHandle.Binder.DefaultMethodLocatorimplementationTarget - The current implementation target.source - The source method for which a default method should be looked up.Copyright © 2014–2023. All rights reserved.