String (String type) { return switch (type) { case "int" -> "java.util.PrimitiveIterator.OfInt"; case "long" -> "java.util.PrimitiveIterator.OfLong"; case "double" -> "java.util.PrimitiveIterator.OfDouble"; default -> CommonClassNames.JAVA_UTIL_ITERATOR + "<" + type + ">"; }; }