http://grepcode.com/file/repo1.maven.org/maven2/org.testng/testng/5.6/org/testng/internal/ObjectFactoryImpl.java