Interface DefaultMethod.Binder.MethodLocator
- All Known Implementing Classes:
DefaultMethod.Binder.MethodLocator.ForExplicitType
,DefaultMethod.Binder.MethodLocator.ForImplicitType
- Enclosing class:
DefaultMethod.Binder
protected static interface DefaultMethod.Binder.MethodLocator
A method locator is responsible for creating the super method call.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
A method locator for an explicit target type.static enum
A method locator for an implicit target type. -
Method Summary
Modifier and TypeMethodDescriptionresolve
(Implementation.Target implementationTarget, MethodDescription source) Resolves the special method invocation to this target.
-
Method Details
-
resolve
Implementation.SpecialMethodInvocation resolve(Implementation.Target implementationTarget, MethodDescription source) Resolves the special method invocation to this target.- Parameters:
implementationTarget
- The implementation target.source
- The method being instrumented.- Returns:
- A special method invocation that represents the super call of this binding.
-