return null;
}
+ // FIXME: 8.0.0: This method goes back as far as YANGTOOLS-365, when we were build EffectiveStatements for
+ // unsupported YANG extensions. We are not doing that anymore, do we still need this method? Also, it
+ // is only used in augment support to disable mechanics on unknown nodes.
+ //
+ // It would seem we can move this method to AbstractAugmentStatementSupport at the very least, but
+ // also: augments are defined to operate on schema tree nodes, hence even if we have an
+ // UnknownStatement, but its EffectiveStatement projection supports SchemaTreeAwareEffectiveStatement
+ // we should operate normally -- the StatementSupport exposing such semantics is responsible for
+ // arranging the backend details.
public static boolean isInExtensionBody(final StmtContext<?, ?, ?> stmtCtx) {
StmtContext<?, ?, ?> current = stmtCtx;