Interface Resolver

All Known Implementing Classes:
BasicResolver

public interface Resolver
Outlines resolving capabilities.
Author:
Matt Coley
  • Method Details

    • resolveAt

      @Nonnull default Resolution resolveAt(int position)
      Parameters:
      position - Absolute position in the source code of the item we want to resolve.
      Returns:
      Resolution of what the deepest nested model at the given position represents.
    • resolveAt

      @Nonnull Resolution resolveAt(int position, @Nullable Model target)
      Parameters:
      position - Absolute position in the source code of the item we want to resolve.
      target - The target model to resolve. Can be null to auto-pick a model at the given position.
      Returns:
      Resolution of what the given target model represents.