Skip to content

Commit

Permalink
Polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Nov 12, 2022
1 parent ffd45c0 commit 1b61217
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@

/**
* Indicate that the classes specified in the annotation attributes require some
* reflection hints for binding or reflection-based serialization purpose. For each
* reflection hints for binding or reflection-based serialization purposes. For each
* class specified, hints on constructors, fields, properties, record components,
* including types transitively used on properties and record components are registered.
* At least one class must be specified in the {@code value} or {@code classes} annotation
* attributes.
*
* <p>Annotated element can be a configuration class, for example:
* <p>The annotated element can be a configuration class, for example:
*
* <pre class="code">
* &#064;Configuration
Expand All @@ -42,7 +42,8 @@
* // ...
* }</pre>
*
* <p>Annotated element can also be any Spring bean class, constructor, field or method, for example:
* <p>The annotated element can also be any Spring bean class, constructor, field, or method.
* For example:
*
* <pre class="code">
* &#064;Service
Expand All @@ -66,16 +67,18 @@
public @interface RegisterReflectionForBinding {

/**
* Classes for which reflection hints should be registered. At least one class must specified
* either in {@code value} or {@code classes}.
* Classes for which reflection hints should be registered.
* <p>At least one class must be specified either via {@link #value} or
* {@link #classes}.
* @see #classes()
*/
@AliasFor("classes")
Class<?>[] value() default {};

/**
* Classes for which reflection hints should be registered. At least one class must specified
* either in {@code value} or {@code classes}.
* Classes for which reflection hints should be registered.
* <p>At least one class must be specified either via {@link #value} or
* {@link #classes}.
* @see #value()
*/
@AliasFor("value")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
*
* @author Sebastien Deleuze
* @since 6.0
* @see RegisterReflectionForBinding @RegisterReflectionForBinding
*/
public class RegisterReflectionForBindingProcessor implements ReflectiveProcessor {

Expand Down

0 comments on commit 1b61217

Please sign in to comment.