Annotation Type Order


  • @Retention(RUNTIME)
    @Target({CONSTRUCTOR,METHOD,FIELD,TYPE})
    public @interface Order
    To specify order of class members and such that otherwise lose declared order in bytecode. We currently use this for ordering annotation methods so we can generate constructors in declaration order. Note these constructors are for legacy purposes to provide backward support for older Gosu annotation call sites where arguments were not named.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      int index  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String value  
    • Element Detail

      • index

        int index
      • value

        String value
        Default:
        "method"