-
Improvement
-
Resolution: Done
-
Medium
-
None
-
None
Binding generated interfaces and classes contain a public static QName member, which holds the YANG QName of the underlying model construct.
Currently we initialize this field through QName.create(String, String, String), which involves parsing/validating three strings: namespace, revision and local name.
MDSAL-325 has reworked YangModuleInfoImpl, so that it now exposes the Module's QName instead of strings – which is useful, as we can use that QName as the baseline – bypassing the need to hold namespace/revision strings and instead use QName.create(QName, String) – which is a lot faster.