docs: public void addDependentResourceReference(ResourceReference<?> resourceReference) {
          if (resourceReferences == null) {
              this.resourceReferences = new ArrayList<ResourceReference<?>>();
          }
          this.resourceReferences.add(resourceReference);
      }