Interface CodeNodeItemContainerHierarchicalWithName<I extends CodeItem>
- Type Parameters:
I- the type of the containedCodeItems.
- All Superinterfaces:
CodeItem, CodeMutable, CodeMutableItem, CodeNode, CodeNodeContainer<I>, CodeNodeItem, CodeNodeItemContainer<I>, CodeNodeItemContainerHierarchical<I>, CodeNodeItemContainerWithName<I>, CodeWithContext, Iterable<I>
- All Known Subinterfaces:
CodeFields, CodeNestedTypes, CodeProperties
public interface CodeNodeItemContainerHierarchicalWithName<I extends CodeItem>
extends CodeNodeItemContainerHierarchical<I>, CodeNodeItemContainerWithName<I>
- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
-
Field Summary
Fields inherited from interface CodeItem
DEFAULT_INDENT, DEFAULT_NEWLINE -
Method Summary
Methods inherited from interface CodeItem
getLanguage, getSourceCode, write, write, write, write, write, writeMethods inherited from interface CodeMutable
isImmutable, isMutableMethods inherited from interface CodeMutableItem
getReflectiveObject, setImmutableMethods inherited from interface CodeNodeContainer
getDeclared, isEmpty, iteratorMethods inherited from interface CodeNodeItemContainer
copy, getParent, removeMethods inherited from interface CodeNodeItemContainerHierarchical
getAllMethods inherited from interface CodeNodeItemContainerWithName
add, get, getDeclared, getDeclaredOrCreate, getOrCreate, getRequiredMethods inherited from interface CodeWithContext
getContext, getSourceMethods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
copy
- Specified by:
copyin interfaceCodeMutableItem- Specified by:
copyin interfaceCodeNodeItem- Specified by:
copyin interfaceCodeNodeItemContainer<I extends CodeItem>- Specified by:
copyin interfaceCodeNodeItemContainerHierarchical<I extends CodeItem>- Specified by:
copyin interfaceCodeNodeItemContainerWithName<I extends CodeItem>- Returns:
- a new
mutablecopy of thisCodeMutableItem. Will be a deep-copy with copies of all childCodeMutableItems.
-