Is your feature request related to a problem? Please describe.
In 3.0, AnnotatedMember
does not have a non-deprecated way to search for meta-annotations. For example, let's say there's a custom ValueSerializerModifier
activated by an annotation called Foo
, and this Foo
annotation is supposed to be usable as a meta-annotation. In other words, if annotation Bar
is annotated with Foo
, then the custom code should be able to find the Foo
annotation (on Bar
) even if the member us annotated only with Bar
.
Describe the solution you'd like
Removing the deprecation notice from AnnotatedMember.getAllAnnotations()
would be one way to resolve the issue. This would allow custom code to search for meta-annotations by inspecting all annotations on the member.
Usage example
No response
Additional context
No response
Comment From: JooHyukKim
Sounds reasonable API to have. But I wonder why the deprecation happened in the first place 🤔 (it might say on the codebase, but dont have laptop atm)