*/
package org.opendaylight.yangtools.yang.model.api;
+import org.eclipse.jdt.annotation.NonNull;
import org.opendaylight.yangtools.yang.common.QName;
import org.opendaylight.yangtools.yang.model.api.stmt.UnknownEffectiveStatement;
*
* @return QName with name the name of the unknown node.
*/
- QName getNodeType();
+ @NonNull QName getNodeType();
/**
* Returns name of the unknown node.
* @return string with the name of unknown node.
*/
String getNodeParameter();
-
- /**
- * 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();
}