boolean (@NotNull ASTNode node) { if (node.getElementType() != JavaElementType.FIELD) { return false; } ASTNode firstChild = node.getFirstChildNode(); if (firstChild == null || firstChild.getElementType() != JavaTokenType.IDENTIFIER) { return false; } ASTNode prev = node.getTreePrev(); return prev == null || !JavaJspElementType.WHITE_SPACE_BIT_SET.contains(prev.getElementType()) || StringUtil.countNewLines(prev.getChars()) <= 1; }