@Override
  @NotNull
  public String buildErrorString(Object... args) {
    final String className = (String) args[0];
    if (className.length() < getMinLength()) {
      return GroovyBundle.message("inspection.message.instance.method.name.ref.too.short");
    } else if (className.length() > getMaxLength()) {
      return GroovyBundle.message("inspection.message.instance.method.name.ref.too.long");
    }
    return GroovyBundle.message("inspection.message.instance.method.name.ref.doesnt.match.regex", getRegex());
  }
@Override
  @NotNull
  public String buildErrorString(Object... args)