diff --git a/spring-context/src/main/java/org/springframework/context/annotation/Lazy.java b/spring-context/src/main/java/org/springframework/context/annotation/Lazy.java index d8fc3e43db7..0f315ea86de 100644 --- a/spring-context/src/main/java/org/springframework/context/annotation/Lazy.java +++ b/spring-context/src/main/java/org/springframework/context/annotation/Lazy.java @@ -54,6 +54,9 @@ import java.lang.annotation.Target; * for optional dependencies. For a programmatic equivalent, allowing for lazy references * with more sophistication, consider {@link org.springframework.beans.factory.ObjectProvider}. * + *

This annotation may be used as a meta-annotation to create custom + * composed annotations. + * * @author Chris Beams * @author Juergen Hoeller * @since 3.0 diff --git a/spring-context/src/main/java/org/springframework/validation/annotation/Validated.java b/spring-context/src/main/java/org/springframework/validation/annotation/Validated.java index 73bc91716e5..c8e2bc62bfd 100644 --- a/spring-context/src/main/java/org/springframework/validation/annotation/Validated.java +++ b/spring-context/src/main/java/org/springframework/validation/annotation/Validated.java @@ -41,6 +41,9 @@ import java.lang.annotation.Target; * for a specific bean to begin with. Can also be used as a meta-annotation on a * custom stereotype annotation or a custom group-specific validated annotation. * + *

This annotation may be used as a meta-annotation to create custom + * composed annotations. + * * @author Juergen Hoeller * @since 3.1 * @see jakarta.validation.Validator#validate(Object, Class[])