Browse Source

Polish Javadoc in spring-context-indexer

pull/27009/head
Sam Brannen 5 years ago
parent
commit
e0690335fc
  1. 2
      spring-context-indexer/src/main/java/org/springframework/context/index/processor/CandidateComponentsIndexer.java
  2. 2
      spring-context-indexer/src/main/java/org/springframework/context/index/processor/IndexedStereotypesProvider.java
  3. 2
      spring-context-indexer/src/main/java/org/springframework/context/index/processor/PackageInfoStereotypesProvider.java
  4. 6
      spring-context-indexer/src/main/java/org/springframework/context/index/processor/StandardStereotypesProvider.java
  5. 4
      spring-context-indexer/src/main/java/org/springframework/context/index/processor/StereotypesProvider.java

2
spring-context-indexer/src/main/java/org/springframework/context/index/processor/CandidateComponentsIndexer.java

@ -36,7 +36,7 @@ import javax.lang.model.element.Modifier; @@ -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

2
spring-context-indexer/src/main/java/org/springframework/context/index/processor/IndexedStereotypesProvider.java

@ -26,7 +26,7 @@ import javax.lang.model.element.ElementKind; @@ -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

2
spring-context-indexer/src/main/java/org/springframework/context/index/processor/PackageInfoStereotypesProvider.java

@ -24,7 +24,7 @@ import javax.lang.model.element.ElementKind; @@ -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

6
spring-context-indexer/src/main/java/org/springframework/context/index/processor/StandardStereotypesProvider.java

@ -1,5 +1,5 @@ @@ -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; @@ -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 <i>present</i> on a class or interface.
*
* @author Stephane Nicoll
* @since 5.0

4
spring-context-indexer/src/main/java/org/springframework/context/index/processor/StereotypesProvider.java

@ -1,5 +1,5 @@ @@ -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; @@ -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
* <p>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

Loading…
Cancel
Save