Use Jandex for annotation discovery and repository

Description

Creating this issue as we spoke about the possibility to use Jandex a few times, so we have a one place for discussions.

Pro:

  • Fast meta-data retrieval when using pre-existing index

Con:

  • Additional dependency

  • Not so good documented

Implementation-wise it would make sense to implement this in form of another MetaDataProvider.

We could also make meta data providers more pluggable, so we don't have a strict dependeny to this. The Jandex provider would then be plugged in under AS while in other scenarios the normal annotation-based provider would be used.

Environment

None

Status

Assignee

Marko Bekhta

Reporter

Gunnar Morling

Labels

None

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Major