Editing annotations manually
You can edit annotations in your source code by directly modifying the annotation in the Java™ editor or by using the Annotations view.
Before you begin
Procedure
- In the Enterprise Explorer view, double-click your Java class to open the file in the Java editor.
- In the Java editor, highlight the annotation that you want to edit. You can change the annotation by typing in a different value. For example, you can change @Stateless to @Stateful to change an EJB from a Stateless Java bean to a Stateful one.
- You can also edit the values of the parameters that are
associated with the annotation, by highlighting the value and typing
the value that you want: In this example, the default value of the attribute was changed from Audit.class to Test.class.