- .build(new CacheLoader<Class<?>, Absolute>() {
- @Override
- public Absolute load(final Class<?> key) {
- // TODO: for nested (YANG 1.1) notifications we will need the SchemaNodeIdentifier where the
- // notification is being invoked and use that instead of ROOT. How Binding users will refer to
- // it is TBD (but probably InstanceIdentifier, which means we will need to do some lifting to
- // find the SchemaNodeIdentifier)
- return Absolute.of(BindingReflections.findQName(key)).intern();
- }
- });
+ .build(new CacheLoader<Class<?>, Absolute>() {
+ @Override
+ public Absolute load(final Class<?> key) {
+ // TODO: for nested (YANG 1.1) notifications we will need the SchemaNodeIdentifier where the
+ // notification is being invoked and use that instead of ROOT. How Binding users will refer to
+ // it is TBD (but probably InstanceIdentifier, which means we will need to do some lifting to
+ // find the SchemaNodeIdentifier), as we will need to deal with the same multiplicies we need
+ // for data due to grouping-based reuse.
+ return Absolute.of(BindingReflections.findQName(key)).intern();
+ }
+ });