Indicate the extracted type for OptionalInt... value extractors

Description

In http://beanvalidation.org/2.0/spec/2.0.0.beta2/#valueextractordefinition-builtinvalueextractors , I'm wondering if we should mandate the fact that the type is set to Integer.class for the OptionalInt ValueExtractor (and same for the others).

Not too sure about as it might be considered an implementation detail as the implementation could rely on other mechanisms to provide the type information in this case.

Environment

None

Assignee

Gunnar Morling

Reporter

Guillaume Smet

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Major
Configure