StreamEx<PsiExpression> () { return switch (myType) { case "Set" -> StreamEx.of(myContent); case "Map" -> IntStreamEx.range(0, myContent.size(), 2).elements(myContent); default -> StreamEx.empty(); }; }