docs: protected EObject getContainerInRule(EObject root, EObject content) {
  		EObject container = content;
  		do {
  			final EClassifier classifier = getGeneratedTypeFor(container);
  			if (classifier != null) {
  				return container;
  			}
  			container = container.eContainer();
  		} while (container != root);
  		final EClassifier classifier = getGeneratedTypeFor(root);
  		if (classifier != null) {
  			return root;
  		}
  		return null;
  	}