Is it possible that UML for JDK 5.0 did not make it into the final, I just created a new class
import java.util.HashSet;
import java.util.Set;
public class Test {
public Set<String> stringSet = new HashSet<String>();
public void iterateIt() {
for(String element: stringSet) {
System.out.println(element);
}
}
}
dumped it into the class diagram, and nothing was generated.