Generating code that is compatible with J2SE 5.0

You can specify that the transformation generates Java™ code that is compatible with the Java 2 Platform, Standard Edition (J2SE) 5.0. This option is available only when you create or edit a UML-to-Java transformation configuration.
To generate Java code that is compatible with J2SE 5.0:
  1. In the Project Explorer view, right-click a transformation configuration file; then click Open.
  2. On the UML to Java Options tab, select the Use Java 5 check box.
  3. Click File > Save.
The next time that you run the transformation, for each attribute that is part of a source UML model element, the transformation generates code that is compatible with J2SE 5.0.
Note: If you create a new transformation configuration, you can specify this information on the UML to Java Options page of the New Transformation Configuration wizard.

Feedback