Overridden annotations

The Annotations view detects if the value of an annotation or a parameter has been overridden by a deployment descriptor value.

In the Java™ EE perspective, if the Annotations view does not appear in the bottom of the workspace, you need to add the Annotations view. For more information, see Using the Annotations view.

To view overridden annotation in the Annotations view:

  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. Highlight the annotation that you want to view.

  4. The annotation view indicates values that are overridden by deployment descriptor values:

    By hovering over the Override icon () , you can see the default value for the attribute.

 

Related concepts

Creating and configuring Java EE modules using annotations

Scope and placement of annotations

Using the Annotations view

 

Related tasks

Defining your own Annotations

Adding annotations

Editing annotations

Removing annotations