Refine search
@JsonProperty @JsonUnwrapped public DataSegment getSegment() { return segment; }
@Override public NameTransformer findUnwrappingNameTransformer(AnnotatedMember member) { JsonUnwrapped ann = _findAnnotation(member, JsonUnwrapped.class); // if not enabled, just means annotation is not enabled; not necessarily // that unwrapping should not be done (relevant when using chained introspectors) if (ann == null || !ann.enabled()) { return null; } String prefix = ann.prefix(); String suffix = ann.suffix(); return NameTransformer.simpleTransformer(prefix, suffix); }
@JsonCreator public SegmentChangeRequestDrop( @JsonUnwrapped DataSegment segment ) { this.segment = segment; }
if (jsonPropertyAnn == null || !jsonPropertyAnn.value().equals(propName)) { if (member != null) { java.lang.reflect.Member innerMember = member.getMember(); aType.jsonUnwrappedHandler((t) -> { JsonUnwrapped uw = propMember.getAnnotation(JsonUnwrapped.class); if (uw != null && uw.enabled()) { handleUnwrapped(props, context.resolve(t), uw.prefix(), uw.suffix()); return null; } else {
private static boolean isJsonUnwrapped(AnnotatedMember primaryMember) { return primaryMember.hasAnnotation(JsonUnwrapped.class) && primaryMember.getAnnotation(JsonUnwrapped.class).enabled(); } }
@JsonCreator public SegmentChangeRequestLoad( @JsonUnwrapped DataSegment segment ) { this.segment = segment; }
if (jsonPropertyAnn == null || !jsonPropertyAnn.value().equals(propName)) { if (member != null) { java.lang.reflect.Member innerMember = member.getMember(); aType.jsonUnwrappedHandler((t) -> { JsonUnwrapped uw = propMember.getAnnotation(JsonUnwrapped.class); if (uw != null && uw.enabled()) { handleUnwrapped(props, context.resolve(t), uw.prefix(), uw.suffix()); return null; } else {
private static boolean isJsonUnwrapped(AnnotatedMember primaryMember) { return primaryMember.hasAnnotation(JsonUnwrapped.class) && primaryMember.getAnnotation(JsonUnwrapped.class).enabled(); } }
@JsonProperty @JsonUnwrapped public DataSegment getSegment() { return segment; }
public class GalenTestAggregatedInfo { @JsonUnwrapped private GalenTestInfo testInfo; private TestStatistic statistic;
@Override public NameTransformer findUnwrappingNameTransformer(AnnotatedMember member) { JsonUnwrapped ann = member.getAnnotation(JsonUnwrapped.class); // if not enabled, just means annotation is not enabled; not necessarily // that unwrapping should not be done (relevant when using chained introspectors) if (ann == null || !ann.enabled()) { return null; } String prefix = ann.prefix(); String suffix = ann.suffix(); return NameTransformer.simpleTransformer(prefix, suffix); }
for (VariableElement fieldDeclaration : fieldElements) { JsonUnwrapped unwrapped = fieldDeclaration.getAnnotation(JsonUnwrapped.class); if (unwrapped != null && unwrapped.enabled()) { DecoratedTypeElement element; TypeMirror typeMirror = fieldDeclaration.asType(); if (unwrapped != null && unwrapped.enabled()) { DecoratedTypeElement element; TypeMirror typeMirror = propertyDeclaration.asType();
@JsonAutoDetect public static class DataAdapterPage { @Nullable @JsonProperty private final String query; @JsonUnwrapped private final PaginatedList.PaginationInfo paginationInfo; @JsonProperty("data_adapters") private final List<DataAdapterApi> dataAdapters; public DataAdapterPage(@Nullable String query, PaginatedList.PaginationInfo paginationInfo, List<DataAdapterApi> dataAdapters) { this.query = query; this.paginationInfo = paginationInfo; this.dataAdapters = dataAdapters; } }
public class LayoutReportNode extends TestReportNode { @JsonUnwrapped private LayoutReport layoutReport;
@Override public NameTransformer findUnwrappingNameTransformer(AnnotatedMember member) { JsonUnwrapped ann = _findAnnotation(member, JsonUnwrapped.class); // if not enabled, just means annotation is not enabled; not necessarily // that unwrapping should not be done (relevant when using chained introspectors) if (ann == null || !ann.enabled()) { return null; } String prefix = ann.prefix(); String suffix = ann.suffix(); return NameTransformer.simpleTransformer(prefix, suffix); }
for (VariableElement fieldDeclaration : fieldElements) { JsonUnwrapped unwrapped = fieldDeclaration.getAnnotation(JsonUnwrapped.class); if (unwrapped != null && unwrapped.enabled()) { DecoratedTypeElement element; TypeMirror typeMirror = fieldDeclaration.asType(); if (unwrapped != null && unwrapped.enabled()) { DecoratedTypeElement element; TypeMirror typeMirror = propertyDeclaration.asType();
@JsonAutoDetect public static class CachesPage { @Nullable @JsonProperty private final String query; @JsonUnwrapped private final PaginatedList.PaginationInfo paginationInfo; @JsonProperty("caches") private final List<CacheApi> caches; public CachesPage(@Nullable String query, PaginatedList.PaginationInfo paginationInfo, List<CacheApi> caches) { this.query = query; this.paginationInfo = paginationInfo; this.caches = caches; } } }
@JsonUnwrapped private final Condition condition; @JsonUnwrapped private final Transition transition;
@Override public NameTransformer findUnwrappingNameTransformer(AnnotatedMember member) { JsonUnwrapped ann = _findAnnotation(member, JsonUnwrapped.class); // if not enabled, just means annotation is not enabled; not necessarily // that unwrapping should not be done (relevant when using chained introspectors) if (ann == null || !ann.enabled()) { return null; } String prefix = ann.prefix(); String suffix = ann.suffix(); return NameTransformer.simpleTransformer(prefix, suffix); }