diff --git a/spring-context-indexer/src/main/java/org/springframework/context/index/processor/CandidateComponentsIndexer.java b/spring-context-indexer/src/main/java/org/springframework/context/index/processor/CandidateComponentsIndexer.java index 6db5627ebcf..9f1edf7f0cc 100644 --- a/spring-context-indexer/src/main/java/org/springframework/context/index/processor/CandidateComponentsIndexer.java +++ b/spring-context-indexer/src/main/java/org/springframework/context/index/processor/CandidateComponentsIndexer.java @@ -36,7 +36,7 @@ import javax.lang.model.element.Modifier; import javax.lang.model.element.TypeElement; /** - * Annotation {@link Processor} that writes {@link CandidateComponentsMetadata} + * Annotation {@link Processor} that writes a {@link CandidateComponentsMetadata} * file for spring components. * * @author Stephane Nicoll diff --git a/spring-context-indexer/src/main/java/org/springframework/context/index/processor/IndexedStereotypesProvider.java b/spring-context-indexer/src/main/java/org/springframework/context/index/processor/IndexedStereotypesProvider.java index dd244470621..6027c0e6680 100644 --- a/spring-context-indexer/src/main/java/org/springframework/context/index/processor/IndexedStereotypesProvider.java +++ b/spring-context-indexer/src/main/java/org/springframework/context/index/processor/IndexedStereotypesProvider.java @@ -26,7 +26,7 @@ import javax.lang.model.element.ElementKind; /** * A {@link StereotypesProvider} implementation that extracts the stereotypes - * flagged by the {@value INDEXED_ANNOTATION} annotation. This implementation + * flagged by the {@value #INDEXED_ANNOTATION} annotation. This implementation * honors stereotypes defined this way on meta-annotations. * * @author Stephane Nicoll diff --git a/spring-context-indexer/src/main/java/org/springframework/context/index/processor/PackageInfoStereotypesProvider.java b/spring-context-indexer/src/main/java/org/springframework/context/index/processor/PackageInfoStereotypesProvider.java index d35b4370c27..685f4e25864 100644 --- a/spring-context-indexer/src/main/java/org/springframework/context/index/processor/PackageInfoStereotypesProvider.java +++ b/spring-context-indexer/src/main/java/org/springframework/context/index/processor/PackageInfoStereotypesProvider.java @@ -24,7 +24,7 @@ import javax.lang.model.element.ElementKind; /** * A {@link StereotypesProvider} implementation that provides the - * {@value STEREOTYPE} stereotype for each package-info. + * {@value #STEREOTYPE} stereotype for each package-info. * * @author Stephane Nicoll * @since 5.0 diff --git a/spring-context-indexer/src/main/java/org/springframework/context/index/processor/StandardStereotypesProvider.java b/spring-context-indexer/src/main/java/org/springframework/context/index/processor/StandardStereotypesProvider.java index 378343c6a33..3a7eb01dbbc 100644 --- a/spring-context-indexer/src/main/java/org/springframework/context/index/processor/StandardStereotypesProvider.java +++ b/spring-context-indexer/src/main/java/org/springframework/context/index/processor/StandardStereotypesProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,8 +24,8 @@ import javax.lang.model.element.Element; import javax.lang.model.element.ElementKind; /** - * A {@link StereotypesProvider} that extract a stereotype for each - * {@code javax.*} annotation placed on a class or interface. + * A {@link StereotypesProvider} that extracts a stereotype for each + * {@code javax.*} annotation present on a class or interface. * * @author Stephane Nicoll * @since 5.0 diff --git a/spring-context-indexer/src/main/java/org/springframework/context/index/processor/StereotypesProvider.java b/spring-context-indexer/src/main/java/org/springframework/context/index/processor/StereotypesProvider.java index e0e5f7a7422..4061ca6ac40 100644 --- a/spring-context-indexer/src/main/java/org/springframework/context/index/processor/StereotypesProvider.java +++ b/spring-context-indexer/src/main/java/org/springframework/context/index/processor/StereotypesProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ import javax.lang.model.element.Element; /** * Provide the list of stereotypes that match an {@link Element}. - * If an element has one more stereotypes, it is referenced in the index + *
If an element has one or more stereotypes, it is referenced in the index * of candidate components and each stereotype can be queried individually. * * @author Stephane Nicoll