Skip to content

Commit 49aabd5

Browse files
committed
Polish Javadoc for (Synthesizing)MethodParameter
1 parent dc1f921 commit 49aabd5

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

spring-core/src/main/java/org/springframework/core/MethodParameter.java

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,22 @@
3030

3131
/**
3232
* Helper class that encapsulates the specification of a method parameter, i.e.
33-
* a Method or Constructor plus a parameter index and a nested type index for
34-
* a declared generic type. Useful as a specification object to pass along.
33+
* a {@link Method} or {@link Constructor} plus a parameter index and a nested
34+
* type index for a declared generic type. Useful as a specification object to
35+
* pass along.
3536
*
36-
* <p>As of 4.2, there is a {@link org.springframework.core.annotation.SynthesizingMethodParameter}
37-
* subclass available which synthesizes annotations based on overridden annotation attributes.
38-
* That subclass is being used for web and message endpoint processing, in particular.
37+
* <p>As of 4.2, there is a {@link org.springframework.core.annotation.SynthesizingMethodParameter
38+
* SynthesizingMethodParameter} subclass available which synthesizes annotations
39+
* with attribute aliases. That subclass is used for web and message endpoint
40+
* processing, in particular.
3941
*
4042
* @author Juergen Hoeller
4143
* @author Rob Harrop
4244
* @author Andy Clement
4345
* @author Sam Brannen
4446
* @since 2.0
4547
* @see GenericCollectionTypeResolver
48+
* @see org.springframework.core.annotation.SynthesizingMethodParameter
4649
*/
4750
public class MethodParameter {
4851

spring-core/src/main/java/org/springframework/core/annotation/SynthesizingMethodParameter.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@
2222
import org.springframework.core.MethodParameter;
2323

2424
/**
25-
* A {@link MethodParameter} variant which synthesizes annotations
26-
* based on overridden annotation attributes, e.g. as declared with
27-
* {@link AliasFor @AliasFor}.
25+
* A {@link MethodParameter} variant which synthesizes annotations that
26+
* declare attribute aliases via {@link AliasFor @AliasFor}.
2827
*
2928
* @author Juergen Hoeller
3029
* @author Sam Brannen

0 commit comments

Comments
 (0)