Using a JavaAnnotation type

About this task

To use a JavaAnnotation type, you must create a JavaAnnotation that is of the type you want. To do so:

Procedure

  1. Open your IBM® Rational® Rhapsody® project in Java, right-click a package on the Rational Rhapsody browser and select Add New > JavaAnnotation. The Add JavaAnnotation window opens.
  2. Select the JavaAnnotation type from the list.
  3. Click OK.
  4. Double-click the JavaAnnotation on your Rational Rhapsody browser. The Features window opens.
  5. On the Elements tab, enter specific values for the JavaAnnotation.
  6. Click OK.

Feedback