IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
No replies
1 Post

Pinned topic ASM Annotations

‏2009-10-28T08:54:51Z |
Hello All,
This is my first time on this forum and it looks great. I have a small problem which is probably silly but I can't find an answer to. I'm using ASM to collect annotations from classes. I don't know if any annotations will exist, how many, of what type or on what level. I need to collect them all and class them according to Class, Method or Field Annotations with their respective values. I've pretty much done everything, but in cases where a class (or field, or method) has more than one annotations, I only get the first one. I can't figure out how to iterate over all the annotations of a specific class (or field etc.). Any help would be great,