Create sub-types of Node instead of Node#getElementDescriptor() and remove ElementDescriptor.getKind()

Description

Since we can't reliably add element descriptors for user-created nodes, we should remove Node#getElementDescriptor() and offer the required information on dedicated Node sub-types.

Draft: https://github.com/gunnarmorling/beanvalidation-api/compare/alternative-path-api

Environment

None

Assignee

Emmanuel Bernard

Reporter

Gunnar Morling

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Affects versions

Priority

Major
Configure