mardi 17 février 2015

Java Reflection returns Deprecated for a Method which is set for an Annotation used on this Method

i'm trying to use java reflection to check, if one of my methods has a depricated annotation like this:


http://ift.tt/1ANoTT5


unfortunately this also returns an deprecated annotation for the following case, where not the method is marked as deprecaded, but an annotation used on this method:


http://ift.tt/1ANoTT7


is there a way to avoid this? I was not able fo find a solution for this without defining an own deprecated annotation






Aucun commentaire:

Enregistrer un commentaire