Skip to content

Support creation of SynthesizingMethodParameter for constructor parameter [SPR-14054] #18626

Closed
@spring-projects-issues

Description

@spring-projects-issues

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:

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions