Interface DefaultCall.Binder.DefaultMethodLocator

All Known Implementing Classes:
DefaultCall.Binder.DefaultMethodLocator.Explicit, DefaultCall.Binder.DefaultMethodLocator.Implicit
Enclosing class:
DefaultCall.Binder

protected static interface DefaultCall.Binder.DefaultMethodLocator
A default method locator is responsible for looking up a default method to a given source method.
  • Method Details

    • resolve

      Locates the correct default method to a given source method.
      Parameters:
      implementationTarget - The current implementation target.
      source - The source method for which a default method should be looked up.
      Returns:
      A special method invocation of the default method or an illegal special method invocation, if no suitable invocation could be located.