boolean (SyntaxElement @NotNull ... syntaxElements) { if (!myIterator.atEnd()) { SyntaxElement currElement = map(myIterator.getTokenType()); return ArrayUtil.contains(currElement, syntaxElements); } return false; }