code: public static <T> T newInstanceOf(final Class<T> clazz)
              throws InstantiationException, IllegalAccessException, InvocationTargetException {
          try {
              return clazz.getConstructor().newInstance();
          } catch (final NoSuchMethodException ignored) {
              // FIXME: looking at the code for Class.newInstance(), this seems to do the same thing as above
              return clazz.newInstance();
          }
      }
docs: Loads and instantiates a Class using the default constructor.
  
  @param clazz The class.
  @return new instance of the class.
  @throws IllegalAccessException if the class can't be instantiated through a public constructor
  @throws InstantiationException if there was an exception whilst instantiating the class
  @throws InvocationTargetException if there was an exception whilst constructing the class
  @since 2.7