Package org.springframework.core
Class DefaultParameterNameDiscoverer
java.lang.Object
org.springframework.core.PrioritizedParameterNameDiscoverer
org.springframework.core.DefaultParameterNameDiscoverer
- All Implemented Interfaces:
ParameterNameDiscoverer
Default implementation of the
ParameterNameDiscoverer
strategy interface,
using the Java 8 standard reflection mechanism (if available), and falling back
to the ASM-based LocalVariableTableParameterNameDiscoverer
for checking
debug information in the class file.
If a Kotlin reflection implementation is present,
KotlinReflectionParameterNameDiscoverer
is added first in the list and
used for Kotlin classes and interfaces. When compiling or running as a GraalVM
native image, the KotlinReflectionParameterNameDiscoverer
is not used.
Further discoverers may be added through PrioritizedParameterNameDiscoverer.addDiscoverer(ParameterNameDiscoverer)
.
- Since:
- 4.0
- Author:
- Juergen Hoeller, Sebastien Deleuze, Sam Brannen
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.core.PrioritizedParameterNameDiscoverer
addDiscoverer, getParameterNames, getParameterNames
-
Constructor Details
-
DefaultParameterNameDiscoverer
public DefaultParameterNameDiscoverer()
-