Reflection
l Similar to C++’s RTTI, but much more general.
l At runtime can find out:
Names of classes methods, members, subclasses
Can fetch value of any member by name
Can call any constructor or method by name
l Adding scripting to any Java program is easy
Many scripting languages
l Beanshell, JPython, etc.
l Full access to all java objects with no extra programming
l Many uses in Data Analysis
24