Skip to content

Commit b32a2ca

Browse files
committed
Update class-level Javadoc for ParameterNameDiscoverer
1 parent d87465f commit b32a2ca

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -24,10 +24,11 @@
2424
/**
2525
* Interface to discover parameter names for methods and constructors.
2626
*
27-
* <p>Parameter name discovery is not always possible, but various strategies are
28-
* available to try, such as looking for debug information that may have been
29-
* emitted at compile time, and looking for argname annotation values optionally
30-
* accompanying AspectJ annotated methods.
27+
* <p>Parameter name discovery is not always possible, but various strategies exist
28+
* &mdash; for example, using the JDK's reflection facilities for introspecting
29+
* parameter names (based on the "-parameters" compiler flag), looking for
30+
* {@code argNames} annotation attributes optionally configured for AspectJ
31+
* annotated methods, etc.
3132
*
3233
* @author Rod Johnson
3334
* @author Adrian Colyer

0 commit comments

Comments
 (0)