@Nullable
  @Override
  public PsiElement resolve() {
    final List<RatedResolveResult> results = multiResolve();
    return results.isEmpty() ? null : RatedResolveResult.sorted(results).get(0).getElement();
  }
@Nullable
  @Override
  public PsiElement resolve()