I have a question about Java Annotations. Is there a way to use code in their usages? It's obvious that I can't use objects but maybe static methods or some other way? I mean something like
@Query(MyClass.staticMethod())
Of course I had tried above code and it is not working :( Do anyone have idea how to achieve such thing?