This example illustrates the use of reflection in the analysis of an arbitrary class.
Later on this code can be used to investigate inner classes created automatically by the compiler.
Reflection is mostly useful for/to tool builders, rather than to application programmers.
Using reflection one can analyze objects at run-time.