Class ResolveMethodOnAggregateOrError

All Implemented Interfaces:
Function<MethodOnAggregateData, MethodSymbol>

final class ResolveMethodOnAggregateOrError extends TypedSymbolAccess implements Function<MethodOnAggregateData, MethodSymbol>
Resolves a method (by name and call arguments) within a given scope, emitting an error if it cannot be resolved or is ambiguous.

This centralises the 'extract argument types; only search when every argument is typed; build a MethodSymbolSearch and delegate to ResolveMethodOrError' body that was otherwise repeated verbatim in several call-resolvers. Callers keep their own caller-specific tails (for example ACCESSED tagging) around the result.