File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
jsonb/src/main/java/io/avaje/jsonb
jsonb-generator/src/main/java/io/avaje/jsonb/generator Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ final class Constants {
6
6
static final String JSONB = "io.avaje.jsonb.Jsonb" ;
7
7
static final String JSON = "io.avaje.jsonb.Json" ;
8
8
static final String JSON_IMPORT = "io.avaje.jsonb.Json.Import" ;
9
- static final String JSON_IMPORT_LIST = "io.avaje.jsonb.Json.Import.List " ;
9
+ static final String JSON_IMPORT_LIST = "io.avaje.jsonb.Json.Import.Imports " ;
10
10
static final String JSON_MIXIN = "io.avaje.jsonb.Json.MixIn" ;
11
11
static final String IOEXCEPTION = "java.io.IOException" ;
12
12
static final String METHODHANDLE = "java.lang.invoke.MethodHandle" ;
Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ private void writeAdaptersForMixInTypes(Set<? extends Element> mixInElements) {
245
245
246
246
private void writeAdaptersForImportedList (Set <? extends Element > imported ) {
247
247
imported .stream ()
248
- .flatMap (e -> ImportListPrism .getInstanceOn (e ).value ().stream ())
248
+ .flatMap (e -> ImportsPrism .getInstanceOn (e ).value ().stream ())
249
249
.forEach (this ::addImported );
250
250
}
251
251
Original file line number Diff line number Diff line change 1
1
@ GeneratePrism (io .avaje .jsonb .CustomAdapter .class )
2
2
@ GeneratePrism (io .avaje .jsonb .Json .class )
3
3
@ GeneratePrism (io .avaje .jsonb .Json .Import .class )
4
- @ GeneratePrism (value = io .avaje .jsonb .Json .Import .List .class , name = "ImportListPrism" )
4
+ @ GeneratePrism (io .avaje .jsonb .Json .Import .Imports .class )
5
5
@ GeneratePrism (io .avaje .jsonb .Json .Alias .class )
6
6
@ GeneratePrism (io .avaje .jsonb .Json .Creator .class )
7
7
@ GeneratePrism (io .avaje .jsonb .Json .Ignore .class )
Original file line number Diff line number Diff line change 13
13
import java .lang .annotation .Retention ;
14
14
import java .lang .annotation .Target ;
15
15
16
- import io .avaje .jsonb .Json .Import .List ;
16
+ import io .avaje .jsonb .Json .Import .Imports ;
17
17
18
18
/**
19
19
* Marks a type for JSON support.
73
73
* }</pre>
74
74
*/
75
75
@ Retention (SOURCE )
76
- @ Repeatable (List .class )
76
+ @ Repeatable (Imports .class )
77
77
@ Target ({TYPE , PACKAGE , MODULE })
78
78
@interface Import {
79
79
96
96
*/
97
97
@ Retention (SOURCE )
98
98
@ Target ({TYPE , PACKAGE , MODULE })
99
- @interface List {
99
+ @interface Imports {
100
100
101
101
Import [] value ();
102
102
}
You can’t perform that action at this time.
0 commit comments