diff --git a/spring-context/src/main/java/org/springframework/context/aot/ReflectiveProcessorBeanRegistrationAotProcessor.java b/spring-context/src/main/java/org/springframework/context/aot/ReflectiveProcessorBeanRegistrationAotProcessor.java index 87d808523c..02a824ae88 100644 --- a/spring-context/src/main/java/org/springframework/context/aot/ReflectiveProcessorBeanRegistrationAotProcessor.java +++ b/spring-context/src/main/java/org/springframework/context/aot/ReflectiveProcessorBeanRegistrationAotProcessor.java @@ -45,7 +45,7 @@ import org.springframework.util.ReflectionUtils; /** * AOT {@code BeanRegistrationAotProcessor} that detects the presence of - * {@link Reflective @Reflective} on annotated elements and invoke the + * {@link Reflective @Reflective} on annotated elements and invokes the * underlying {@link ReflectiveProcessor} implementations. * * @author Stephane Nicoll diff --git a/spring-core/src/main/java/org/springframework/aot/hint/support/RuntimeHintsUtils.java b/spring-core/src/main/java/org/springframework/aot/hint/support/RuntimeHintsUtils.java index 538381f13e..b8eff9c103 100644 --- a/spring-core/src/main/java/org/springframework/aot/hint/support/RuntimeHintsUtils.java +++ b/spring-core/src/main/java/org/springframework/aot/hint/support/RuntimeHintsUtils.java @@ -29,7 +29,6 @@ import org.springframework.aot.hint.TypeHint; import org.springframework.aot.hint.TypeHint.Builder; import org.springframework.aot.hint.annotation.Reflective; import org.springframework.core.annotation.AliasFor; -import org.springframework.core.annotation.MergedAnnotations; import org.springframework.core.annotation.SynthesizedAnnotation; /** @@ -49,10 +48,11 @@ public abstract class RuntimeHintsUtils { /** * Register the necessary hints so that the specified annotation is visible - * at runtime. If an annotation attributes aliases an attribute of another - * annotation, it is registered as well and a JDK proxy hints is defined + * at runtime. + *
If an annotation attribute aliases an attribute of another annotation,
+ * the other annotation is registered as well and a JDK proxy hint is defined
* so that the synthesized annotation can be resolved.
- * @param hints the {@link RuntimeHints} instance ot use
+ * @param hints the {@link RuntimeHints} instance to use
* @param annotationType the annotation type
* @see SynthesizedAnnotation
*/
@@ -61,7 +61,7 @@ public abstract class RuntimeHintsUtils {
Set