@NotNull
  public static GroovyResolveResult extractUniqueResult(GroovyResolveResult @NotNull [] results) {
    if (results.length != 1) return EmptyGroovyResolveResult.INSTANCE;
    return results[0];
  }
@NotNull
  public static GroovyResolveResult extractUniqueResult(GroovyResolveResult @NotNull [] results)