Reputation: 663
It turns out that calling method.isAnnotationPresent() is not working properly if you use repeatable annotations.
Upvotes: 2
Views: 1004
Reputation: 663
The strange thing is that it is working in case you use only one annotation, but not working if you put more than one. The problem is that if you have more than one annotation there, method actually has one annotation that contains all repeatable annotations (the one stated in @Repeatable value)
Upvotes: 2