diff --git a/src/main/java/org/comroid/api/data/seri/DataStructure.java b/src/main/java/org/comroid/api/data/seri/DataStructure.java index 0a4f22d1..4ff9325a 100644 --- a/src/main/java/org/comroid/api/data/seri/DataStructure.java +++ b/src/main/java/org/comroid/api/data/seri/DataStructure.java @@ -247,12 +247,13 @@ public static abstract class Member implements Named, AnnotatedElement, java.lan @Getter @NotNull Set aliases = new HashSet<>(); - @Getter @NotNull @ToString.Exclude + @Getter(onMethod = @__(@JsonIgnore)) AnnotatedElement context; @NotNull @ToString.Exclude + @Getter(onMethod = @__(@JsonIgnore)) Set> annotations = new HashSet<>(); @Getter @NotNull Class declaringClass; @@ -280,12 +281,14 @@ public String getAlternateName() { @Ignore @Override + @JsonIgnore public Annotation[] getAnnotations() { return streamAnnotations(Annotation.class).toArray(Annotation[]::new); } @Ignore @Override + @JsonIgnore public Annotation[] getDeclaredAnnotations() { return streamAnnotations(Annotation.class) .filter(result -> result.getContext().equals(context)) @@ -325,6 +328,7 @@ public String toString() { public class Constructor extends Member { @NotNull @ToString.Exclude + @Getter(onMethod = @__(@JsonIgnore)) List args; @NotNull @ToString.Exclude