Fix StmtContext.produces{Declared,Effective} signatures 49/93949/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 27 Nov 2020 04:05:37 +0000 (05:05 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 27 Nov 2020 04:05:37 +0000 (05:05 +0100)
commitc1289a7ebed4c08e19a0e8397fe200b84cc56d3e
treefcc1901a623d6db92c99c05792bc8eef0097edca
parent9f913df7cac67736a848f3b5d831775a7bbcca2f
Fix StmtContext.produces{Declared,Effective} signatures

We have bad signatures here, one of which is needlessly verbose,
the other one is actually plain wrong as it confuses X,Y for A,D.

Fix them up, which removes the need to go throw raw access to make
them work.

Change-Id: I6bfd995c8b4064b99eb673fa30c4ab8f3d52dd5c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-parser-spi/src/main/java/org/opendaylight/yangtools/yang/parser/spi/meta/StmtContext.java
yang/yang-parser-spi/src/main/java/org/opendaylight/yangtools/yang/parser/spi/meta/StmtContextDefaults.java