Annotation Type Alias


  • @Documented
    @Retention(RUNTIME)
    @Target(TYPE)
    public @interface Alias
    The annotation that specify alias name.

    How to use:

     @Alias("Email")
     public class UserEmail {
       // ...
     }
     
    Author:
    Clinton Begin
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value
      Return the alias name.
    • Element Detail

      • value

        String value
        Return the alias name.
        Returns:
        the alias name