/** * Fluent factory method that will construct a new instance that uses * annotations from specified {@link Annotated} as fallback annotations * * @since 1.9 */ public final Annotated withFallBackAnnotationsFrom(Annotated annotated) { return withAnnotations(AnnotationMap.merge(getAllAnnotations(), annotated.getAllAnnotations())); }
/** * Fluent factory method that will construct a new instance that uses * annotations from specified {@link Annotated} as fallback annotations * * @since 1.9 */ public final Annotated withFallBackAnnotationsFrom(Annotated annotated) { return withAnnotations(AnnotationMap.merge(getAllAnnotations(), annotated.getAllAnnotations())); }
/** * Fluent factory method that will construct a new instance that uses * annotations from specified {@link Annotated} as fallback annotations * * @since 1.9 */ public final Annotated withFallBackAnnotationsFrom(Annotated annotated) { return withAnnotations(AnnotationMap.merge(getAllAnnotations(), annotated.getAllAnnotations())); }
/** * Fluent factory method that will construct a new instance that uses * annotations from specified {@link Annotated} as fallback annotations * * @since 1.9 */ public final Annotated withFallBackAnnotationsFrom(Annotated annotated) { return withAnnotations(AnnotationMap.merge(getAllAnnotations(), annotated.getAllAnnotations())); }