<commit_before>/*
 * Copyright (c) 2020 P<EMAIL>, s.r.o. and others.  All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */
package org.opendaylight.yangtools.yang.model.util;

import com.google.common.annotations.Beta;
import java.util.Collection;
import org.opendaylight.yangtools.yang.model.api.ChoiceSchemaNode;
import org.opendaylight.yangtools.yang.model.api.ContainerSchemaNode;
import org.opendaylight.yangtools.yang.model.api.DataSchemaNode;
import org.opendaylight.yangtools.yang.model.api.GroupingDefinition;
import org.opendaylight.yangtools.yang.model.api.ListSchemaNode;
import org.opendaylight.yangtools.yang.model.api.TypeDefinition;

@Beta
public abstract class DataNodeAggregator {
    protected void addChild(final DataSchemaNode childNode) {
        // No-op by default
    }

    protected void addContainer(final ContainerSchemaNode containerNode) {
        // No-op by default
    }

    protected void addList(final ListSchemaNode list) {
        // No-op by default
    }

    protected void addChoice(final ChoiceSchemaNode choiceNode) {
        // No-op by default
    }

    protected void addTypedefs(final Collection<? extends TypeDefinition<?>> typeDefs) {
        // No-op by default
    }<commit_msg>Deprecate DataNodeAggregator for removal<commit_after>/*
 * Copyright (c) 2020 P<EMAIL>, s.r.o. and others.  All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */
package org.opendaylight.yangtools.yang.model.util;

import com.google.common.annotations.Beta;
import java.util.Collection;
import org.opendaylight.yangtools.yang.model.api.ChoiceSchemaNode;
import org.opendaylight.yangtools.yang.model.api.ContainerSchemaNode;
import org.opendaylight.yangtools.yang.model.api.DataSchemaNode;
import org.opendaylight.yangtools.yang.model.api.GroupingDefinition;
import org.opendaylight.yangtools.yang.model.api.ListSchemaNode;
import org.opendaylight.yangtools.yang.model.api.TypeDefinition;

@Beta
@Deprecated(forRemoval = true, since = "8.0.3")
public abstract class DataNodeAggregator {
    protected void addChild(final DataSchemaNode childNode) {
        // No-op by default
    }

    protected void addContainer(final ContainerSchemaNode containerNode) {
        // No-op by default
    }

    protected void addList(final ListSchemaNode list) {
        // No-op by default
    }

    protected void addChoice(final ChoiceSchemaNode choiceNode) {
        // No-op by default
    }

    protected void addTypedefs(final Collection<? extends TypeDefinition<?>> typeDefs) {
        // No-op by default
    }
{'fraction_non_alphanumeric': 0.09341970678486192, 'fraction_numerical': 0.0064780088646437094, 'mean_word_length': 3.87375415282392, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7397214', 'n_tokens_mistral': 905, 'n_tokens_neox': 855, 'n_words': 213}