Polish "Add support for @Value annotation"

See gh-26337
This commit is contained in:
Stephane Nicoll
2021-05-28 16:02:29 +02:00
parent 14d86034a1
commit 69c2621a14
6 changed files with 8 additions and 11 deletions

View File

@@ -65,7 +65,7 @@ The processor picks up both classes and methods that are annotated with `@Config
If the class is also annotated with `@ConstructorBinding`, a single constructor is expected and one property is created per constructor parameter.
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).
The annotation processor also supports the use of the `@Data`, `@Getter`, and `@Setter` lombok annotations.
The annotation processor also supports the use of the `@Data`, `@Value`, `@Getter`, and `@Setter` lombok annotations.
Consider the following example: