@HashCodeAndEqualsPlugin.Enhance public static class Morph.Binder.DefaultMethodLocator.Explicit extends Object implements Morph.Binder.DefaultMethodLocator
Morph.Binder.DefaultMethodLocator.Explicit, Morph.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
DefaultCall.targetType()
.public Implementation.SpecialMethodInvocation resolve(Implementation.Target implementationTarget, MethodDescription source)
resolve
in interface Morph.Binder.DefaultMethodLocator
implementationTarget
- The current implementation target.source
- The source method for which a default method should be looked up.Copyright © 2014–2020. All rights reserved.