Bug 2784: status deprecated is not interpreted as annotation 90/32290/7
authorMartin Ciglan <mciglan@cisco.com>
Fri, 8 Jan 2016 16:03:44 +0000 (17:03 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Fri, 15 Jan 2016 11:32:07 +0000 (11:32 +0000)
commit29dd9aacfb1df7f0f244b35e2b23f6b785dadfe8
tree3aaa5a97a6f8d18e7cf8e5680c546792572d6ef1
parent5e605c93affbc97b0e23cbae70aa297b7a6819ae
Bug 2784: status deprecated is not interpreted as annotation

Issues mentioned below have been fixed in this patch:
1. status deprecated is ignored for YANG elements in Javadocs
2. Annotation @deprecated is not provided in Javadocs
3. Annotation @Deprecated for compiler/developer purpose is not provided in generated Java structures

Change-Id: I5f3984d6810cd88a383a33f32b3b5d6a5072fd57
Signed-off-by: Martin Ciglan <mciglan@cisco.com>
binding/mdsal-binding-generator-impl/src/main/java/org/opendaylight/yangtools/sal/binding/generator/impl/BindingGeneratorImpl.java
binding/mdsal-binding-generator-impl/src/main/java/org/opendaylight/yangtools/sal/binding/generator/impl/YangTemplate.xtend
binding/mdsal-binding-java-api-generator/src/main/java/org/opendaylight/yangtools/sal/java/api/generator/InterfaceTemplate.xtend