Questions tagged [code-reflection]

Reflection is the ability of a computer program to examine, introspect, and modify its own structure and behavior at runtime. Use this tag for programming features that need to reason about the code itself. For questions about rendering visual reflections, use the Reflection-Rendering tag instead.

Filter by
Sorted by
Tagged with

How can I look up an object given only the name of its type?

This question came from a fellow developer on Twitter, and I figured StackExchange would be a better format for explaining & sharing the answer. To paraphrase the question: I'm setting up an in-...