BindingReflections.getModuleInfo() returns @NonNull 00/88100/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 27 Feb 2020 15:38:47 +0000 (16:38 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 27 Feb 2020 15:39:48 +0000 (16:39 +0100)
commitc4cb94c40f54341106d0f00e8719d289bea17ab8
treecd2693c69351a883055426253e93d844c80d28b5
parenta246443e10cc43adace7bc36fdf8014d76010389
BindingReflections.getModuleInfo() returns @NonNull

A null return here would be an API violation, make sure we catch
these in BindingReflections and do not bother users with potential
nulls.

Change-Id: I1670a46d1de4aeac0730538822157ec6ae216011
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-spec-util/src/main/java/org/opendaylight/mdsal/binding/spec/reflect/BindingReflections.java