docs: public ModuleMetadataRelatedResourceComponent addRelatedResource() { //3
        ModuleMetadataRelatedResourceComponent t = new ModuleMetadataRelatedResourceComponent();
        if (this.relatedResource == null)
          this.relatedResource = new ArrayList<ModuleMetadataRelatedResourceComponent>();
        this.relatedResource.add(t);
        return t;
      }