Java - Reflection

Reflection API

Java reflection API is a built-in feature providing type information for classes and objects during run time (form of RTTI). This API is based on java.lang.Class.

Tutorials:

Videos:

Guava

Guava Reflect is a part of Guava project which provides additional reflection functions - for example for generic types.

Tutorial: Reflection Explained.

Mirror

Library home: Mirror

Implements shorter ways to work with Java Reflection API, similar to jOOR.

jOOR

jOOR - provides shorter ways to use Java reflection (code is more compact)

Tutorials:

JXPath

Allows developer to access objects using XPath expressions.

See Apache Commons JXPath.

Books

  • "Java Reflection in Action" - Ira R. Forman / Nate Forman, 2004

Share

follow