Generate compatibility constructors for Uint wrapped types 01/84201/2
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 4 Sep 2019 14:57:10 +0000 (16:57 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 4 Sep 2019 15:02:02 +0000 (17:02 +0200)
commite792b360ebb151a974f17048a1ee9c6f6611841f
treeaa3809644304a8ff223a9ca10d4c25a8b859d667
parent3a71a702503b88c9007e40b8a9e3d6ada6ab902b
Generate compatibility constructors for Uint wrapped types

We already are generating compatibility setters, this extends this
capability to wrapper classes (i.e. their constructors). As usual
the compatibility code is marked as deprecated for removal.

Also fixes some code formatting issues introduces in previous
patches.

JIRA: MDSAL-330
Change-Id: I0b2db136c27c26de33f8a756292dde4cdf53bebb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-java-api-generator/src/main/java/org/opendaylight/mdsal/binding/java/api/generator/BaseTemplate.xtend
binding/mdsal-binding-java-api-generator/src/main/java/org/opendaylight/mdsal/binding/java/api/generator/BuilderTemplate.xtend
binding/mdsal-binding-java-api-generator/src/main/java/org/opendaylight/mdsal/binding/java/api/generator/ClassTemplate.xtend