Do not use BindingReflections in ModuleInfoSnapshotBuilder 31/106631/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 22 Jun 2023 15:53:32 +0000 (17:53 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 22 Jun 2023 15:54:01 +0000 (17:54 +0200)
commit5164fe4ff2899743c382f6707a7203810a7936bc
treec69c6e143983f2bd66bd175c92903f6165ec0966
parenteb87964bf5791221e2f5cf113a2760c32f385a8e
Do not use BindingReflections in ModuleInfoSnapshotBuilder

We have YangModuleInfos, which expose both the root package and the
corresponding namespace. Use that information to resolve QNameModule
for a particular root without relying on reflective access.

JIRA: MDSAL-783
Change-Id: If8b14cb49118f5d97c65783f29f1aa77bcc4eada
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-runtime-spi/src/main/java/org/opendaylight/mdsal/binding/runtime/spi/ModuleInfoSnapshotBuilder.java