Annotation Interface Alias


@Retention(RUNTIME) @Target(TYPE) public @interface Alias
Specify an alias for a class (e.g. the old name for compatibility after the class was renamed or moved to a different package).
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The alias name.
  • Element Details

    • value

      String value
      The alias name.