Mention that meta-annotations are not supported

See gh-18517
This commit is contained in:
Stéphane Nicoll 2024-08-07 17:11:50 +02:00
parent a81c8d92c1
commit 9817201833
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,8 @@ If you are not using this attribute, and annotation processors are picked up by
=== Automatic Metadata Generation
The processor picks up both classes and methods that are annotated with `@ConfigurationProperties`.
NOTE: Custom annotations that are meta-annotated with `@ConfigurationProperties` are not supported.
If the class has a single parameterized constructor, one property is created per constructor parameter, unless the constructor is annotated with `@Autowired`.
If the class has a constructor explicitly annotated with `@ConstructorBinding`, one property is created per constructor parameter for that constructor.
Otherwise, properties are discovered through the presence of standard getters and setters with special handling for collection and map types (that is detected even if only a getter is present).