[YANGTOOLS-1071] Deprecate SchemaNode.getPath() for removal Created: 15/Jan/20  Updated: 29/Aug/21  Resolved: 29/Aug/21

Status: Resolved
Project: yangtools
Component/s: parser
Affects Version/s: None
Fix Version/s: 7.0.8

Type: Story Priority: Medium
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Get rid of SchemaNode.getPath()

 Description   

Once all other issues have been resolved and we are ready to start removal of getPath(), change its definition to:

@Deprecated(forRemoval = true)
default getPath() {
    throw new UnsupportedOperationException(getClass() + " does not provide SchemaPath");
}

Generated at Wed Feb 07 20:55:06 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.