@Override
  protected String buildErrorString(Object... args) {
    return switch (args.length) {
      case 1 -> GroovyBundle.message("type.doesnt.implement.comparable", args);
      case 2 -> GroovyBundle.message("type.doesnt.contain.method", args);
      default -> throw new IncorrectOperationException("incorrect args:" + Arrays.toString(args));
    };
  }
@Override
  protected String buildErrorString(Object... args)