net.sf.mmm.code.api.node.CodeNodeItemContainerHierarchical Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mmm-code-api Show documentation
Show all versions of mmm-code-api Show documentation
The API to parse, analyze, transform and generate code.
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0 */
package net.sf.mmm.code.api.node;
import net.sf.mmm.code.api.item.CodeItem;
/**
* {@link CodeItem} containing {@link CodeItem}s of a particular type. It groups these items and all the
* methods to operate on them.
*
* @author Joerg Hohwiller (hohwille at users.sourceforge.net)
* @param the type of the contained {@link CodeItem}s.
* @since 1.0.0
*/
public abstract interface CodeNodeItemContainerHierarchical extends CodeNodeItemContainer {
/**
* @return the {@link Iterable} of all {@link CodeItem}s as the union of the {@link #getDeclared() declared}
* and its recursively traversed items. May be {@link java.util.Collection#isEmpty() empty} but is
* never {@code null}.
*/
Iterable extends I> getAll();
@Override
CodeNodeItemContainerHierarchical copy();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy