boolean (@NotNull PsiVariable variable) { // Java-style 'var' arrays are prohibited by the parser; for C-style ones, looking for a bracket is enough return ContainerUtil.or(variable.getChildren(), e -> PsiUtil.isJavaToken(e, JavaTokenType.LBRACKET)); }