ASTNode (@NotNull ASTNode node) { ASTNode currNode = node.getTreePrev(); while (currNode != null && (currNode.getElementType() == JavaTokenType.END_OF_LINE_COMMENT || FormatterUtil.isWhitespaceOrEmpty(currNode))) { currNode = currNode.getTreePrev(); } return currNode; }