Closed
Description
Sam Brannen opened SPR-14054 and commented
Status Quo
A SynthesizingMethodParameter
can be created for a Method
parameter but not for a Constructor
parameter.
Related Resources
The MethodParameterFactory from the spring-test-junit5
project has a factory method for creating a SynthesizingMethodParameter
from a Java 8 Parameter
; however, this method currently throws an UnsupportedOperationException
if the underlying Executable
is a Constructor
since SynthesizingMethodParameter
currently does not provide a constructor that accepts a Constructor
.
Deliverables
- Support creation of
SynthesizingMethodParameter
instances for constructor parameters.
Affects: 4.2 GA
Issue Links:
- Introduce support for creating a MethodParameter from a Java 8 Parameter [SPR-14055] #18627 Introduce support for creating a MethodParameter from a Java 8 Parameter