Filter out synthetic parameters as added by Kotlin (and probably others)

Description

Please, look at my post on stackoverflow.com
Validator gets wrong parameter's metadata. Seems that it gets default final fields from Enum type (name, ordinal)

Environment

JDK 8

Status

Assignee

Guillaume Smet

Reporter

Pavel Pismerov

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Affects versions

Priority

Major
Configure