views:

46

answers:

3

Hi, I`m looking to start project that needs to process annotations. I was wondering what apis are available to help with reflection and annotation processing. I know theres Apache BeanUtils but are there any others?

+1  A: 

Unitils and spring have AnnotationUtils that might be helpful.

Bozho
A: 

The Java Annotation Processing API might be a good place to start.

Tomislav Nakic-Alfirevic
A: 

Additionally to Bozho's post there is java.beans.ReflectionUtils that serves as a utility class for reflectively finding methods, constuctors and fields using reflection.

There is also a ReflectionUtils class in org.springframework.util for some more advanced stuff but it is marked for internal use only. Using it against this advise you should keep in mind that it might change over time and versions.

codescape