Here is a simple example of how it works:
Reflection has very high overhead. Make sure you can’t solve your problem with a simple interface, Class.forName and a delegate object instead.
Kataba has a way of speeding up reflection 100x to almost the speed of interface calls via dynamic compliation (JVM byte code generation).
![]() |
and suggestions to improve this page to Roedy Green : | ||
| Canadian Mind Products | |||
| mindprod.com IP:[65.110.21.43] | |||
| Your face IP:[38.103.63.18] | The information on this page is for non-military use only. | ||
| You are visitor number 24,560. | Military use includes use by defence contractors. | ||
| You can get a fresh copy of this page from: | or possibly from your local J: drive (Java virtual drive/Mindprod website mirror) | ||
| http://mindprod.com/jgloss/reflection.html | J:\mindprod\jgloss\reflection.html | ||