Annotation Interface Shortcut


@Target(METHOD) @Retention(RUNTIME) @Documented @Indexed public @interface Shortcut
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The names and order of arguments for a shortcut.
    Optional property prefix to be appended to fields.
    Strategy for parsing the shortcut String.
    The names and order of arguments for a shortcut.
  • Element Details

    • value

      @AliasFor("fieldOrder") String[] value
      The names and order of arguments for a shortcut. Synonym for fieldOrder(). Defaults to the names and order of the method on which this is declared.
      Default:
      {}
    • fieldOrder

      @AliasFor("value") String[] fieldOrder
      The names and order of arguments for a shortcut. Synonym for value(). Defaults to the names and order of the method on which this is declared.
      Default:
      {}
    • type

      Strategy for parsing the shortcut String.
      Default:
      DEFAULT
    • fieldPrefix

      String fieldPrefix
      Optional property prefix to be appended to fields.
      Default:
      ""