Annotation Interface PropertyAlias


@Target(FIELD) @Retention(RUNTIME) public @interface PropertyAlias
Marker annotation for static fields that represent property name aliases.

Jersey code should not contain overlapping nor duplicate property names. This is checked in a dedicated (@code org.glassfish.jersey.tests.integration.propertycheck.PropertyOverlappingCheckTest) unit test. However, sometimes having property aliases is useful. If the property name is equal to another property (from another file), it has to be marked by this annotation, otherwise the test will fail and prevent Jersey build to succeed.

Author:
Adam Lindenthal
See Also: