Creating a new Java annotation
Use the New Java Annotation wizard to create a new Java annotation. There are a number of ways to open this wizard:
-
Select the container where you want the new class to reside.
-
From the drop-down menu on the New Java Class button in the workbench toolbar, select Annotation.
or
-
Select the container where you want the new class to reside.
-
From the container's pop-up menu, select New > Annotation.
or
-
Select the container where you want the new class to reside.
-
From the drop-down menu on the New button in the workbench toolbar, select Annotation.
or
-
Click the New button in the workbench toolbar to open the New wizard.
-
Select Java > Annotation and click Next.
or
-
Select the container where you want the new annotation to reside.
-
Then, select from the menu bar File > New > Annotation.
Java projects
Renaming a type
New Java Annotation wizard
Java Toolbar actions
Package Explorer