Annotation Type 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
      java.lang.String value
      The alias name.
    • Element Detail

      • value

        java.lang.String value
        The alias name.