Posts Tagged ‘reflection’

A Simple Java Introduction to Reflection

July 20th, 2012 Leave a comment
A Simple Java Introduction to Reflection

In computer science, reflection is the process by which a computer program can observe, do type introspection and modify its own structure and behavior at runtime. In many computer architectures, program instructions are stored as data; hence the distinction between instruction and data is merely a matter of how the information is treated by the computer and programming language. Reflection is most commonly used in high-level virtual machine programming languages like Smalltalk and scripting languages, and less commonly used in manifestly typed and/or statically typed programming languages such as Java, C, ML or Haskell. In this article, we will look at… View full post »