You can populate Unified Modeling Language (UML) sequence diagrams
with Java™ elements
to understand interactions in existing Java or Enterprise JavaBeans™ (EJB)
applications.
You must have a sequence diagram open.
To populate a UML sequence diagram with Java elements, in the Package
Explorer or Project Explorer view, right-click
a Java class
or interface, or selected Java classes and interfaces; then click .