Symbol$TypeVariableSymbol cannot be cast to TypeElement

Description

This code:

Generated:

If inherit ChildEmbeddable of ParentEmbeddable:

I get an error:

Full stacktrace.

Sample project: https://github.com/devpreview/Hibernate-Metamodel-Bug

Environment

hibernate-jpamodelgen v5.2.11.Final

Assignee

Chris Cranford

Reporter

Алексей Савчук

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure