Avoid Poor Use of Reflection August 15, 2018 Class beanClass = ???If (beanClass.newInstance() instanceof TestBean) ??? The above code is tries to use the reflection API, it tries to find a way to check for inheritance, but it