[Skip to content]
TRIEMAX Software
You are here: Home > Products > Jalopy >

### 2.6.12. Annotations

Lets you configure annotations that should be added to top-level class, interface, enum and annotation type declarations.

Figure 2.92. Annotations settings page

#### Insert annotations

Enables or disables the automatic insertion of annotations. When enabled, all custom defined annotations (see below) that are not already present for a top-level declaration, will be inserted during formatting.

Since 1.8

#### 2.6.12.1. Annotations

Lets you define the annotations that should be inserted. You can specify an arbitrary amount of annotations. The annotations will be inserted in the order defined.

The list component displays all patterns currently defined. Use the button bar on the right to add, remove or change patterns and define the order in which the patterns should be inserted.

#### Add...

Lets you add new annotation patterns. Pressing the button will invoke a new dialog where you can enter the pattern.

Please note that the annotation must be fully qualified. During insertion, the package name will be stripped and the corresponding import declaration inserted.

#### Change...

Lets you alter an already defined annotation pattern.

This button is only available if an item is currently selected in the pattern list. Pressing the button will invoke a new dialog where you can change the Annotation pattern for the currently selected item in the pattern list.

#### Remove

Lets you remove an already defined annotation pattern.

This button is only available if an item is currently selected in the pattern list.

#### Up

Lets you change the position of an already defined annotation pattern in the pattern list.

This button is only available if an item is currently selected in the pattern list and this is not the topmost item.

#### Down

Lets you change the position of an already defined annotation pattern in the pattern list.

This button is only available if an item is currently selected in the pattern list and this is not the last item.