Annotation Interface BackwardsCompatibleAlias
Annotation for defining an alias on a
ElementType.FIELD for backwards compatibility purposes.
Note: Using this annotation requires enabling the
BackwardsCompatibleAliasProcessor on the module using it,
unless already enabled, in order to enforce the value()'s uniqueness within an enum class at build time.
-
Required Element Summary
Required Elements
-
Element Details
-
value
String valueThe value of the backwardsCompatibleAlias property.- Returns:
- the backwardsCompatibleAlias property value
-