Here you can find the source of loadClassReflectively(ClassLoader classLoader, String fullyQualifiedClassName)
public static Class<?> loadClassReflectively(ClassLoader classLoader, String fullyQualifiedClassName)
//package com.java2s; //License from project: Open Source License public class Main { public static Class<?> loadClassReflectively(ClassLoader classLoader, String fullyQualifiedClassName) { try {/*from w w w .j a v a 2 s . c o m*/ return classLoader.loadClass(fullyQualifiedClassName); } catch (ClassNotFoundException e) { throw new RuntimeException(e); } } }