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 |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
Instrumentation.SpecialMethodInvocation |
resolve(Instrumentation.Target instrumentationTarget,
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 Instrumentation.SpecialMethodInvocation resolve(Instrumentation.Target instrumentationTarget, MethodDescription source)
Morph.Binder.DefaultMethodLocatorresolve in interface Morph.Binder.DefaultMethodLocatorinstrumentationTarget - The current instrumentation target.source - The source method for which a default method should be looked up.Copyright © 2014. All rights reserved.