code: @SuppressWarnings("unchecked")
      public static Class<Object> getInnerClassType(Class<?> declaringClass, String name) throws ClassNotFoundException {
          return (Class<Object>) Class.forName(declaringClass.getName() + "$" + name);
      }
docs: Get an inner class type.
  
  @param declaringClass The class in which the inner class is declared.
  @param name           The unqualified name (simple name) of the inner class.
  @return The type.
  @throws ClassNotFoundException the class not found exception