|
26 | 26 |
|
27 | 27 | /**
|
28 | 28 | * Indicate that the classes specified in the annotation attributes require some
|
29 |
| - * reflection hints for binding or reflection-based serialization purpose. For each |
| 29 | + * reflection hints for binding or reflection-based serialization purposes. For each |
30 | 30 | * class specified, hints on constructors, fields, properties, record components,
|
31 | 31 | * including types transitively used on properties and record components are registered.
|
32 | 32 | * At least one class must be specified in the {@code value} or {@code classes} annotation
|
33 | 33 | * attributes.
|
34 | 34 | *
|
35 |
| - * <p>Annotated element can be a configuration class, for example: |
| 35 | + * <p>The annotated element can be a configuration class, for example: |
36 | 36 | *
|
37 | 37 | * <pre class="code">
|
38 | 38 | * @Configuration
|
|
42 | 42 | * // ...
|
43 | 43 | * }</pre>
|
44 | 44 | *
|
45 |
| - * <p>Annotated element can also be any Spring bean class, constructor, field or method, for example: |
| 45 | + * <p>The annotated element can also be any Spring bean class, constructor, field, or method. |
| 46 | + * For example: |
46 | 47 | *
|
47 | 48 | * <pre class="code">
|
48 | 49 | * @Service
|
|
66 | 67 | public @interface RegisterReflectionForBinding {
|
67 | 68 |
|
68 | 69 | /**
|
69 |
| - * Classes for which reflection hints should be registered. At least one class must specified |
70 |
| - * either in {@code value} or {@code classes}. |
| 70 | + * Classes for which reflection hints should be registered. |
| 71 | + * <p>At least one class must be specified either via {@link #value} or |
| 72 | + * {@link #classes}. |
71 | 73 | * @see #classes()
|
72 | 74 | */
|
73 | 75 | @AliasFor("classes")
|
74 | 76 | Class<?>[] value() default {};
|
75 | 77 |
|
76 | 78 | /**
|
77 |
| - * Classes for which reflection hints should be registered. At least one class must specified |
78 |
| - * either in {@code value} or {@code classes}. |
| 79 | + * Classes for which reflection hints should be registered. |
| 80 | + * <p>At least one class must be specified either via {@link #value} or |
| 81 | + * {@link #classes}. |
79 | 82 | * @see #value()
|
80 | 83 | */
|
81 | 84 | @AliasFor("value")
|
|
0 commit comments