protected static interface Morph.Binder.DefaultMethodLocator
Modifier and Type | Interface and Description |
---|---|
static class |
Morph.Binder.DefaultMethodLocator.Explicit
An explicit default method locator attempts to look up a default method in the specified interface type.
|
static class |
Morph.Binder.DefaultMethodLocator.Implicit
An implicit default method locator that only permits the invocation of a default method if the source
method itself represents a method that was defined on a default method interface.
|
Modifier and Type | Method and Description |
---|---|
Implementation.SpecialMethodInvocation |
resolve(Implementation.Target implementationTarget,
MethodDescription source)
Locates the correct default method to a given source method.
|
Implementation.SpecialMethodInvocation resolve(Implementation.Target implementationTarget, MethodDescription source)
implementationTarget
- The current implementation target.source
- The source method for which a default method should be looked up.Copyright © 2014–2015. All rights reserved.