We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
在编程语言,Introspection (内省),描述的是 在runtime (运行时),程序对自身对象进行检查 的行为。如Java语言中,使用instanceof 检测某一个Object是否属于某一个Class。
instanceof
reflection (反射) 同样拥有检查对象属性的能力 (Introspection的能力) ,但除此以外,reflection还拥有操作与修改对象的能力。因此,reflection的概念比Introspection更为高级、复杂。^1