You can remove annotations in your source code by directly
deleting the annotation in the Java™ editor
or by using the Annotations view.
Procedure
- In the Enterprise Explorer view, double-click your Java class to open the file in the Java editor.
- 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
beside an import statement, right click the icon, and select Quick
Fix. Select Remove unused imports.
- Save your file by pressing CTRL+S.