Inspecting Types and Objects at Runtime

Back to Reflection

The ability to query the type, fields, methods, and annotations of objects at runtime. Used by frameworks for serialization, dependency injection, ORM mapping, and testing. Available in languages like Java (java.lang.reflect), C# (System.Reflection), and Python (inspect module).

programming-paradigms metaprogramming reflection runtime