public interface UnknownSchemaNode extends SchemaNode, CopyableNode,
EffectiveStatementEquivalent<UnknownEffectiveStatement<?, ?>> {
/**
- * Returns QName instance with the name of the unknown node.
+ * Returns QName instance with the name of the unknown node. This corresponds to
+ * {@link ExtensionDefinition#getQName()} of the {@code extension} statement which defined it.
*
* @return QName with name the name of the unknown node.
*/
* Get extension definition which identifies this node.
*
* @return extension definition if exists, null otherwise
+ * @deprecated This method is can cause cyclic dependencies in the object graph. Use
+ * {@link SchemaContext#getExtensions()} with {@link #getNodeType()} instead.
*/
+ // FIXME: YANGTOOLS-1317: remove this method
+ @Deprecated(forRemoval = true, since = "7.0.8")
ExtensionDefinition getExtensionDefinition();
}