Removing annotations manually

You can remove annotations in your source code by directly deleting the annotation in the Java™ editor or by using the Annotations view.

Procedure

  1. In the Enterprise Explorer view, double-click your Java class to open the file in the Java editor.
  2. Highlight the annotation that you want to remove, and right-click and select Cut. You might need to remove unused imports following the delete operation. If a warning icon appears next to an import statement, right-click the icon, and select Quick Fix. Select Remove unused imports.
  3. Save your file by pressing CTRL+S.
Icon that indicates the type of topic Task topic
Timestamp icon Last updated: July 17, 2017 21:58

File name: tremovannman.html