vancetang / reflections

Automatically exported from code.google.com/p/reflections
Do What The F*ck You Want To Public License
0 stars 0 forks source link

Annotation data missing from returned methods #161

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have mutliple annotations to methods in a class
2. reflections.getMethodsWithAnnotations (Annotation1.class)
3. From the returned Set<Methods>, do method.getAnnotations() and try to access 
Annotation2. its missing

What is the expected output? What do you see instead?
Even if i search methods with one annotations, it should preserve the other 
annotations of that method

What version of the product are you using? On what operating system?
0.9.9-RC1 on MAC OSX 10.8.2

Please provide any additional information below.

Original issue reported on code.google.com by pradeep....@gmail.com on 2 Oct 2013 at 10:49

GoogleCodeExporter commented 9 years ago
getMethodsWithAnnotations?!
Can you, anyway, send a reproducible test?

Original comment by ronm...@gmail.com on 7 Dec 2013 at 3:58

GoogleCodeExporter commented 9 years ago
I ll close this issue. 

I dint have the annotation retention to runtime and hence it wasnt picked up. 
Thanks for your response.

Original comment by pradeep....@gmail.com on 7 Dec 2013 at 5:48

GoogleCodeExporter commented 9 years ago

Original comment by ronm...@gmail.com on 21 Dec 2013 at 9:36