Deque<PyExpression> () { final PyExpression[] childrenOfType = PsiTreeUtil.getChildrenOfType(this, PyExpression.class); if (childrenOfType == null) { return new ArrayDeque<>(0); } return Queues.newArrayDeque(Collections2.filter(Arrays.asList(childrenOfType), NO_KEY_ARGUMENTS)); }