2

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?

3 Answers 3

1

Unitils and spring have AnnotationUtils that might be helpful.

Sign up to request clarification or add additional context in comments.

Comments

0

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

Comments

0

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.