To
use a JavaAnnotation type, you must
create a JavaAnnotation that is of the type you want. To do so:
Procedure
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.
Select the JavaAnnotation type from the
list.
Click OK.
Double-click the JavaAnnotation on
your Rational Rhapsody browser.
The Features window opens.
On
the Elements tab,
enter specific values for the JavaAnnotation.