code: public void registerBlueprint(Class clazz) throws RegisterBlueprintException {
          Object blueprint = null;
  
          try {
              blueprint = clazz.newInstance();
          } catch (InstantiationException e) {
              throw new RegisterBlueprintException(e);
          } catch (IllegalAccessException e) {
              throw new RegisterBlueprintException(e);
          }
  
          registerBlueprint(blueprint);
      }
docs: Register a Blueprint from Class
  
  @param clazz Blueprint class
  @throws RegisterBlueprintException failed to register blueprint