static HighlightInfo.Builder checkCStyleDeclaration(@NotNull PsiVariable variable) {
    PsiIdentifier identifier = variable.getNameIdentifier();
    if (identifier == null) return null;
    PsiElement start = null;
    PsiElement end = null;
    for (PsiElement element = identifier.getNextSibling(); element != null; element = element.getNextSibling()) {
      if (PsiUtil.isJavaToken(element, BRACKET_TOKENS)) {
        if (start == null) start = element;
        end = element;
      }
    }
    if (start != null) {
      HighlightInfo.Builder info = HighlightInfo.newHighlightInfo(HighlightInfoType.ERROR)
        .range(variable, start.getTextRange().getStartOffset(), end.getTextRange().getEndOffset())
        .descriptionAndTooltip(variable instanceof PsiRecordComponent
          ? JavaErrorBundle.message("record.component.cstyle.declaration")
          : JavaErrorBundle.message("vararg.cstyle.array.declaration"));
      var action = new NormalizeBracketsFix(variable);
      info.registerFix(action, null, null, null, null);
      return info;
    }
    return null;
  }
static HighlightInfo.Builder checkCStyleDeclaration(@NotNull PsiVariable variable)