Option to check annotations by shortname or qualifier #11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Checking if e.g. a class has a certain annotation can be done in 2 ways:
So only the annotation name like for example: EntityEx
So the complete name like e.g.: de.unicorntech.roomex.models.EntityEx
The disadvantage of the 1st variant is that theoretically there can be several annotations with the same name, e.g. from other libraries. Thus a comparison would not be 100% safe.
The disadvantage with the 2nd variant is that the actual data type must be resolved for some declerations, which slows down the compilation phase. For it the comparison is however to 99% safe. Unless a developer publishes annotations under a different package name.
So there should be an option to switch between option 1 and 2.
Wont fix.
The current processors are fast enough so that the impact would only be minimal