@Override
  @NotNull
  protected String buildErrorString(Object... infos) {
    final Object info = infos[0];
    if (info instanceof PsiMethod method) {
      return InspectionGadgetsBundle.message("cstyle.array.method.declaration.problem.descriptor", method.getName());
    }
    final int choice;
    if (info instanceof PsiField) choice = 1;
    else if (info instanceof PsiParameter) choice = 2;
    else if (info instanceof PsiRecordComponent) choice = 3;
    else choice = 4;
    return InspectionGadgetsBundle.message("cstyle.array.variable.declaration.problem.descriptor",
                                           Integer.valueOf(choice), ((PsiVariable)info).getName());
  }
@Override
  @NotNull
  protected String buildErrorString(Object... infos)