Split processStatement a bit more 76/87676/2
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 13 Feb 2020 16:18:29 +0000 (17:18 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 13 Feb 2020 16:20:33 +0000 (17:20 +0100)
commit369a3d3ac873eac6f54d79c4a6028916d0b8d2f6
tree66214c78fa0e21457e0c02d4f57e848a01a7c2d7
parent39f407029477bf07b9616952f5acd6c33c9b0b42
Split processStatement a bit more

Split out the slow path (of allocating a statement) into a separate
method, so that the main entrypoint is more easily inlineable.

JIRA: YANGTOOLS-652
Change-Id: Iccae60e336915e06d64731e3fe4aa278cba90996
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/repo/StatementContextVisitor.java