Binding generator v2 - fix getter method name 31/60531/13
authorJie Han <han.jie@zte.com.cn>
Tue, 18 Jul 2017 11:18:26 +0000 (19:18 +0800)
committerJie Han <han.jie@zte.com.cn>
Thu, 10 Aug 2017 08:45:49 +0000 (08:45 +0000)
commitf1ccafdea3ef03ef82f5e9f141b94ab2418d0d94
treed942f391c1f330abfcad90d2b7500f108db3b8f0
parent3c24618b19b500ead3091dc9858baf7c57b79a47
Binding generator v2 - fix getter method name

- for yang snippet:
  container cont {
    leaf class {
      type string;
    }
  }
  the leaf name was reserved, but the result of method normalizing "get_class"
  is "getClass", so here just let "get" append the result of class normalizing
  "class" which should be "ClassReservedKeyword" ,that would be "getClassReservedKeyword".

Change-Id: Ibee98a5d82145b1f39509d05da6923fae0cb19f9
Signed-off-by: Jie Han <han.jie@zte.com.cn>
binding2/mdsal-binding2-generator-impl/src/main/java/org/opendaylight/mdsal/binding/javav2/generator/impl/AuxiliaryGenUtils.java