ASTNode (@Nullable ASTNode element) { if (element == null) { return null; } ASTNode quest = findChildByType(element, JavaTokenType.QUEST); if (quest == null) { return null; } ASTNode child = quest.getTreeNext(); while (true) { if (child == null) return null; if (EXPRESSION_SET.contains(child.getElementType())) break; child = child.getTreeNext(); } return child; }