ReflectionAPIs
ReflectionAPIs refer to a set of programming interfaces that allow a program to examine, introspect, and even modify its own structure and behavior at runtime. This capability is often described as the program's ability to "look inside itself." Reflection enables a program to discover information about its types, members (fields, methods, properties), and other metadata. It can also be used to invoke methods, access fields, and create instances of objects dynamically, without knowing their exact types at compile time.
The primary use cases for ReflectionAPIs include building frameworks, developing debugging tools, and implementing serialization mechanisms.
While powerful, reflection can come with performance overhead compared to direct code execution, as it involves