docs: @Override
      public Scriptable createObject(Context cx, Scriptable scope) {
          if (member.isCtor() || parmsLength == VARARGS_CTOR) {
              return null;
          }
          Scriptable result;
          try {
              result = (Scriptable) member.getDeclaringClass().newInstance();
          } catch (Exception ex) {
              throw Context.throwAsScriptRuntimeEx(ex);
          }
  
          result.setPrototype(getClassPrototype());
          result.setParentScope(getParentScope());
          return result;
      }