Removing annotations using the Annotations view

You can remove annotations in your source code by using the Annotations view.

Before you begin

In the Java™ EE perspective, if the Annotations view does not display in the workspace, add the Annotations view. For more information, see Annotations view.

Procedure

  1. In the Enterprise Explorer view, double-click your Java class to open the file in the Java editor.
  2. Click the Annotations view tab.
  3. In the navigation tree, navigate to the annotation that you want to delete.
  4. Click the delete annotation icon from the navigation tree.
  5. Save your file by pressing CTRL+S.