Abstract
Introspection (reflection) is the act of exploring information about an object, often referred to as its metadata: the class of the object, the methods it implements, what properties it declares, the protocols (interfaces) it conforms to, and so on. The common questions (“What class is this object?,” “Can I treat this object as a specific class?,” and “Does this object implement a, specific method?”), are all easy to answer. This chapter will first tell you how to answer those common questions. It will then look into the deeper exploration of objects and classes.
Preview
Unable to display preview. Download preview PDF.
Copyright information
© James Bucanek 2009