This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Introspection vs Reflection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Introspection vs Reflection" Watch "Introspection vs Reflection" New topic
Author

Introspection vs Reflection

Pho Tek
Ranch Hand

Joined: Nov 05, 2000
Posts: 761

Are introspection and reflection two different things ?


Regards,

Pho
Manfred Leonhardt
Ranch Hand

Joined: Jan 09, 2001
Posts: 1492
Hi Pho,
Sort of ...
Introspection is figuring out yourself (class)
Reflection is figuring out any class
That means that we can use reflection to perform introspection ... weird huh?
Regards,
Manfred.
Pho Tek
Ranch Hand

Joined: Nov 05, 2000
Posts: 761

So java.beans.Introspector#getBeanInfo() is performing
introspection and not reflections ?
Pho
 
GeeCON Prague 2014
 
subject: Introspection vs Reflection