Introduction to Object Oriented Programming, 3rd Ed
Chapter 25
Reflection and Introspection
Outline
- Roadmap
- Class Objects
- Things you can do with a Class Object
- Getting the Class from a String
- Testing if an Object is an Instance of a Class
- Methods as Objects
- Using a Method
- Dynamic Execution
- Class Loading
- Metaclasses -- Strange Loops
- Rational for MetaClasses
- Relation to Components
Other Material