A utility class that can be used to determine whether or not a class has been loaded or not. This implementation will not cause classes to be loaded if they aren't already loaded.
This implementation isn't the most elegant because it relies on reflection and the ability to call
setAccessible(true)
on the final protected {@link ClassLoader#findLoadedClass} method. Unfortunatelythere really isn't a better way to do this without forcing the entire application to load all classes with a custom class loader or requiring the use of a java agent.