Document that @⁠Validated & @⁠Lazy may be used as meta-annotations

See gh-36305
See gh-36306
This commit is contained in:
Sam Brannen
2026-02-11 17:37:06 +01:00
parent 282fee5c95
commit 98d4046e4b
2 changed files with 6 additions and 0 deletions
@@ -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}.
*
* <p>This annotation may be used as a <em>meta-annotation</em> to create custom
* <em>composed annotations</em>.
*
* @author Chris Beams
* @author Juergen Hoeller
* @since 3.0
@@ -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.
*
* <p>This annotation may be used as a <em>meta-annotation</em> to create custom
* <em>composed annotations</em>.
*
* @author Juergen Hoeller
* @since 3.1
* @see jakarta.validation.Validator#validate(Object, Class[])