Skip to content

Commit

Permalink
Add @JsonCreator annotation to JavaType.Annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
knutwannheden committed Feb 12, 2025
1 parent ee142f0 commit 058101d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,7 @@ public Annotation(FullyQualified type, List<ElementValue> values) {
this(type, arrayOrNullIfEmpty(values, EMPTY_ANNOTATION_VALUE_ARRAY));
}

@JsonCreator
Annotation(FullyQualified type, ElementValue @Nullable [] values) {
this.type = type;
this.values = nullIfEmpty(values);
Expand Down

0 comments on commit 058101d

Please sign in to comment.