public Set<LeafElementType> getNextPossibleLeafs(PathNode pathNode, CodeCompletionFilterSettings filterSettings) {
ElementType parent = getParent();
if (isIterationSeparator()) {
if (parent instanceof IterationElementType) {
IterationElementType iterationElementType = (IterationElementType) parent;
/*return codeCompletionSettings.isSmart() ?
iterationElementType.getIteratedElementType().getFirstPossibleLeafs() :
iterationElementType.getIteratedElementType().getFirstRequiredLeafs();*/
return iterationElementType.getIteratedElementType().getLookupCache().getFirstPossibleLeafs();
} else if (parent instanceof QualifiedIdentifierElementType){
return super.getNextPossibleLeafs(pathNode, filterSettings);
}
}
if (parent instanceof WrapperElementType) {