Field annotated with target TYPE_USE break metamodel generation

Description

Metamodel generation doesn't work with target TYPE_USE annotated fields, e.g. with validations from bean validation 2.0.

For example this class

generates the following metamodel

however the following is expected

Environment

Java 8

Status

Assignee

Chris Cranford

Reporter

Dmitry Malchikov

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure