Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Introspection vs Reflection  RSS feed

 
Pho Tek
Ranch Hand
Posts: 782
Chrome Python Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are introspection and reflection two different things ?
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 782
Chrome Python Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So java.beans.Introspector#getBeanInfo() is performing
introspection and not reflections ?
Pho
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!