Remove AugmentationSchemaNode.getOriginalDefinition()
[yangtools.git] / parser / yang-parser-spi / src / main / java / org / opendaylight / yangtools / yang / parser / spi / meta / ImplicitParentAwareStatementSupport.java
index 0ca41292511fe66233797b9d0e71ff8016f2ad7e..b6f5b3341d61399bd0fcd6cd6c903de85326ea04 100644 (file)
@@ -15,8 +15,6 @@ import org.opendaylight.yangtools.yang.model.api.meta.StatementDefinition;
  * {@link StatementSupport} trait for statements which create intermediate parent node for some of its child nodes.
  * An example of this is RFC6020/RFC7950 choice statement, which creates implicit case statements for child containers
  * and others.
- *
- * @author Robert Varga
  */
 @Beta
 public interface ImplicitParentAwareStatementSupport {
@@ -25,8 +23,9 @@ public interface ImplicitParentAwareStatementSupport {
      * implementations of this interface add implicit parent to the build context hierarchy before a substatement
      * is created.
      *
+     * @param parent parent statement context
      * @param stmtDef statement definition of substatement
      * @return optional of implicit parent statement support
      */
-    Optional<StatementSupport<?, ?, ?>> getImplicitParentFor(StatementDefinition stmtDef);
+    Optional<StatementSupport<?, ?, ?>> getImplicitParentFor(NamespaceStmtCtx parent, StatementDefinition stmtDef);
 }