is there a way to have the deprecation annotation ...
# announcements
e
is there a way to have the deprecation annotation based on some parameters?
c
Not sure I understand. What are you trying to solve or enable by doing that?
e
like, based on the opengl version you choose, you have some deprecated methods/enums
I never really used annotations, this is my first time I try to approach them
c
Hi! Sorry for the delay 🙂 I haven't tried this specifically but you should be able to get annotations at runtime since there's no retention specified on
@Deprecated
meaning it should be visible for reflection.
e
no problem