- private final SchemaPath path;
-
- Effective(final StmtContext<Void, OpenConfigHashedValueStatement, ?> ctx) {
- super(ctx);
- path = ctx.coerceParentContext().getSchemaPath().get().createChild(
- ctx.getPublicDefinition().getStatementName());
+ Effective(final Current<Empty, OpenConfigHashedValueStatement> stmt,
+ final ImmutableList<? extends EffectiveStatement<?, ?>> substatements) {
+ super(stmt, substatements);
+ definition = stmt.publicDefinition();
+ path = SchemaPathSupport.toEffectivePath(stmt.getEffectiveParent().getSchemaPath()
+ .createChild(stmt.publicDefinition().getStatementName()));