This method has been on its slow way out. An alternative addressing
construct is presented through EffectiveStatementInference and
SchemaInferenceStack, so all downstreams should be able to migrate with
relative ease now. Add a stern warning with terminal deprecation with
the intent to remove in yangtools-8.
JIRA: YANGTOOLS-1071
Change-Id: Idfbff326eff741fb53af74f35238b999b812993e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
* identity within a given {@link EffectiveModelContext}.
* </li>
* </ul>
* identity within a given {@link EffectiveModelContext}.
* </li>
* </ul>
+ * An alternative method of exchanging pointers to schema nodes (well, statements, really), exists in
+ * the form of {@link EffectiveStatementInference} and its ecosystem. This method is scheduled for
+ * removal in the next major release.
+ @Deprecated(forRemoval = true)
default @NonNull SchemaPath getPath() {
return SchemaNodeDefaults.throwUnsupported(this);
}
default @NonNull SchemaPath getPath() {
return SchemaNodeDefaults.throwUnsupported(this);
}