code: public static Object loadGenInstance(Class<?> cls) throws ParserException
      {
          try
          {
              Class<?> parserClass;
              try
              {
                  parserClass = loadGenClass(cls);
              }
              catch (ClassNotFoundException ex)
              {
                  return null;
              }
              return parserClass.newInstance();
          }
          catch (InstantiationException | IllegalAccessException ex)
          {
              throw new ParserException(ex);
          }
      }
docs: Loads generated class instance by using ClassLoader. Return null if unable to
  load class
  @param cls Annotated class acting also as superclass for created parser
  @return
  @throws ParserException