File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
http-api/src/main/java/io/avaje/http/api Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 66import static java .lang .annotation .RetentionPolicy .SOURCE ;
77
88import java .lang .annotation .ElementType ;
9+ import java .lang .annotation .Repeatable ;
910import java .lang .annotation .Retention ;
1011import java .lang .annotation .RetentionPolicy ;
1112import java .lang .annotation .Target ;
1819 /** Factory method name used to construct the type. Empty means use a constructor */
1920 String factoryMethod () default "" ;
2021
22+ @ Repeatable (MappedParam .Import .Imports .class )
2123 @ Retention (SOURCE )
2224 @ Target ({TYPE , PACKAGE , MODULE })
2325 @interface Import {
2628
2729 /** Factory method name used to construct the type. Empty means use a constructor */
2830 String factoryMethod () default "" ;
31+
32+ @ Retention (SOURCE )
33+ @ Target ({TYPE , PACKAGE , MODULE })
34+ @interface Imports {
35+
36+ Import [] value ();
37+ }
2938 }
3039}
You can’t perform that action at this time.
0 commit comments