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