if (!stack.isEmpty()) {
final EffectiveStatement<?, ?> current = stack.currentStatement();
// FIXME: this should be one of NormalizedNodeContainer/NotificationDefinition/OperationDefinition
if (!stack.isEmpty()) {
final EffectiveStatement<?, ?> current = stack.currentStatement();
// FIXME: this should be one of NormalizedNodeContainer/NotificationDefinition/OperationDefinition