[MDSAL-395] Get rid of "get" prefix because it conflicts with getters Created: 15/Nov/18  Updated: 20/Mar/19  Resolved: 20/Mar/19

Status: Resolved
Project: mdsal
Component/s: Binding codegen
Affects Version/s: None
Fix Version/s: 4.0.0

Type: Bug 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

Issue Links:
Blocks
is blocked by MDSAL-396 Add DataObject.implementedInterface() Resolved

 Description   

This is (hopefully) the last straggler in the 'get*' family, after getKey() and getAugmentation(). Using "get" prefix followed by a capital letter infringes on namespace reserved for user-defined data, such as:

grouping foo {
    leaf implemented-interface {
        type string;
    }
}

We suddenly have two getters differing only by return type, which is a JLS violation. Get rid of this by renaming to "implementedInterface".


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