Skip to content

Commit 1b61217

Browse files
committed
Polishing
1 parent ffd45c0 commit 1b61217

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

spring-core/src/main/java/org/springframework/aot/hint/annotation/RegisterReflectionForBinding.java

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@
2626

2727
/**
2828
* 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
3030
* class specified, hints on constructors, fields, properties, record components,
3131
* including types transitively used on properties and record components are registered.
3232
* At least one class must be specified in the {@code value} or {@code classes} annotation
3333
* attributes.
3434
*
35-
* <p>Annotated element can be a configuration class, for example:
35+
* <p>The annotated element can be a configuration class, for example:
3636
*
3737
* <pre class="code">
3838
* &#064;Configuration
@@ -42,7 +42,8 @@
4242
* // ...
4343
* }</pre>
4444
*
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:
4647
*
4748
* <pre class="code">
4849
* &#064;Service
@@ -66,16 +67,18 @@
6667
public @interface RegisterReflectionForBinding {
6768

6869
/**
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}.
7173
* @see #classes()
7274
*/
7375
@AliasFor("classes")
7476
Class<?>[] value() default {};
7577

7678
/**
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}.
7982
* @see #value()
8083
*/
8184
@AliasFor("value")

spring-core/src/main/java/org/springframework/aot/hint/annotation/RegisterReflectionForBindingProcessor.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
*
3131
* @author Sebastien Deleuze
3232
* @since 6.0
33+
* @see RegisterReflectionForBinding @RegisterReflectionForBinding
3334
*/
3435
public class RegisterReflectionForBindingProcessor implements ReflectiveProcessor {
3536

0 commit comments

Comments
 (0)