Interface DefaultCallHandle.Binder.DefaultMethodLocator

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

protected static interface DefaultCallHandle.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.