Page cover

Annotations


Paired

The paired annotation is used to force an annotation to be with another.

Add the annotation to another annotation.

Example
@Paired(Field.class)
public @interface Foreign {
}

This means you can only use the foreign annotation combined with the field annotation.

Last updated