docs: public void setAttribute(Class sender, Object object, String attribute, Object newValue, boolean useSuper, boolean fromInsideClass) {
          checkInitalised();
  
          boolean isStatic = theClass != Class.class && object instanceof Class;
          if (isStatic && object != theClass) {
              MetaClass mc = registry.getMetaClass((Class) object);
              mc.setAttribute(sender, object, attribute, newValue, useSuper, fromInsideClass);
              return;
          }
  
          MetaProperty mp = getMetaProperty(sender, attribute, useSuper, isStatic);
  
          if (mp != null) {
              if (mp instanceof MetaBeanProperty) {
                  MetaBeanProperty mbp = (MetaBeanProperty) mp;
                  mp = mbp.getField();
              }
              if (mp != null) {
                  mp.setProperty(object, newValue);
                  return;
              }
          }
  
          throw new MissingFieldException(attribute, theClass);
      }