From f58f23c5b8977955ae7955604a45731c18327d01 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Sun, 22 Apr 2018 11:11:56 +0200 Subject: [PATCH] Document that binder doesn't handle static properties Closes gh-12912 --- .../src/main/asciidoc/spring-boot-features.adoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 680e959eca..9083c13db6 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -980,6 +980,9 @@ fly by using its default constructor, you need a setter. Some people use Project Lombok to add getters and setters automatically. Make sure that Lombok does not generate any particular constructor for such a type, as it is used automatically by the container to instantiate the object. + +Finally, only standard Java Bean properties are considered and binding on static +properties are not supported. ==== TIP: See also the <