code: @SuppressWarnings("unchecked")
      public static <T> Class<T> classForName(String className) {
          try {
              return (Class<T>)Class.forName(className);
          }
          catch (ClassNotFoundException | VerifyError e) {
              // Catching VerifyError fixes issue #147. I don't know how to unit test it.
              return null;
          }
      }
docs: Helper method to resolve a Class of a given name.
  
  @param className The fully qualified name of the class to resolve.
  @param <T> The type of the class to resolve.
  @return The corresponding class if it exists, null otherwise.