Skip to content

Commit 9817201

Browse files
committed
Mention that meta-annotations are not supported
See gh-18517
1 parent a81c8d9 commit 9817201

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/configuration-metadata/annotation-processor.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ If you are not using this attribute, and annotation processors are picked up by
7272
=== Automatic Metadata Generation
7373
The processor picks up both classes and methods that are annotated with `@ConfigurationProperties`.
7474

75+
NOTE: Custom annotations that are meta-annotated with `@ConfigurationProperties` are not supported.
76+
7577
If the class has a single parameterized constructor, one property is created per constructor parameter, unless the constructor is annotated with `@Autowired`.
7678
If the class has a constructor explicitly annotated with `@ConstructorBinding`, one property is created per constructor parameter for that constructor.
7779
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).

0 commit comments

Comments
 (0)