0

I need to do reflection and introspection in my java application, but I find that java.lang.reflect is a little bit complex to use, and I cannot easily find solutions for what I want to do.

Do you know another library that do introspection?

Mouna
  • 3,221
  • 3
  • 27
  • 38
  • 1
    Just learn to use `java.lang.reflect`: it is a learning curve but worth the pain. – Bathsheba Apr 15 '14 at 15:06
  • You could try an [Introspector](http://docs.oracle.com/javase/7/docs/api/java/beans/Introspector.html) - although it is designed specifically with JavaBeans in mind. In any case, this question is asking to recommend an library and is therefore off topic here. – Boris the Spider Apr 15 '14 at 15:10

1 Answers1

0

For introspection start with java.beans.Introspector.

To get started with reflection have a look at the tutorial: http://docs.oracle.com/javase/tutorial/reflect/

Puce
  • 37,247
  • 13
  • 80
  • 152