ttps://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a>&lt;? extends X&gt;&nbsp;type)</span></div>
<div class="deprecation-block"><span class="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span>
<div class="deprecation-comment">use <a href="#addTreatedSubgraph(jakarta.persistence.metamodel.Attribute,java.lang.Class)"><code>addTreatedSubgraph(Attribute, C