Mirror (programming)
In computer programming, a mirror is a reflection mechanism that is completely decoupled from the object whose structure is being introspected. This is as opposed to traditional reflection, for example in Java, where one introspects an object using methods from the object itself (e.g. java.lang.Object::getClass() to get a java.lang.Class ). Mirrors adhere to the qualities of encapsulation, stratification and ontological correspondence.
In computer programming, a mirror is a reflection mechanism that is completely decoupled from the object whose structure is being introspected. This is as opposed to traditional reflection, for example in Java, where one introspects an object using methods from the object itself (e.g. java.lang.Object::getClass() to get a java.lang.Class ). Mirrors adhere to the qualities of encapsulation, stratification and ontological correspondence.
References
No reference rows published for this article.
Cite this article
MLA
"Mirror (programming)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/mirror-programming. Accessed 24 November 2026.
Chicago
"Mirror (programming)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/mirror-programming.
APA
encyclopegia.org. (2026). Mirror (programming). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/mirror-programming
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON