Interface CodeFields
- All Superinterfaces:
CodeAdvancedMergeableItem<CodeFields>, CodeItem, CodeItemWithDeclaringType, CodeMembers<CodeField>, CodeMergeableItem<CodeFields>, CodeMutable, CodeMutableItem, CodeNode, CodeNodeContainer<CodeField>, CodeNodeItem, CodeNodeItemContainer<CodeField>, CodeNodeItemContainerHierarchical<CodeField>, CodeNodeItemContainerHierarchicalWithName<CodeField>, CodeNodeItemContainerWithName<CodeField>, CodeNodeItemCopyable<CodeType, CodeFields>, CodeWithContext, Iterable<CodeField>
public interface CodeFields
extends CodeMembers<CodeField>, CodeNodeItemContainerHierarchicalWithName<CodeField>, CodeAdvancedMergeableItem<CodeFields>, CodeNodeItemCopyable<CodeType, CodeFields>
CodeMembers as a container for the CodeFields.- 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 CodeAdvancedMergeableItem
merge, merge, mergeMethods inherited from interface CodeItem
getLanguage, getSourceCode, write, write, write, write, write, writeMethods inherited from interface CodeItemWithDeclaringType
getDeclaringTypeMethods inherited from interface CodeMembers
add, getParentMethods inherited from interface CodeMutable
isImmutable, isMutableMethods inherited from interface CodeMutableItem
getReflectiveObject, setImmutableMethods inherited from interface CodeNodeContainer
getDeclared, isEmpty, iteratorMethods inherited from interface CodeNodeItemContainer
copy, removeMethods inherited from interface CodeNodeItemContainerHierarchical
getAllMethods inherited from interface CodeNodeItemContainerWithName
add, get, getDeclared, getDeclaredOrCreate, getOrCreate, getRequiredMethods inherited from interface CodeNodeItemCopyable
copy, getParentMethods inherited from interface CodeWithContext
getContext, getSourceMethods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
copy
CodeFields copy()- Specified by:
copyin interfaceCodeMembers<CodeField>- Specified by:
copyin interfaceCodeMutableItem- Specified by:
copyin interfaceCodeNodeItem- Specified by:
copyin interfaceCodeNodeItemContainer<CodeField>- Specified by:
copyin interfaceCodeNodeItemContainerHierarchical<CodeField>- Specified by:
copyin interfaceCodeNodeItemContainerHierarchicalWithName<CodeField>- Specified by:
copyin interfaceCodeNodeItemContainerWithName<CodeField>- Specified by:
copyin interfaceCodeNodeItemCopyable<CodeType, CodeFields>- Returns:
- a new
mutablecopy of thisCodeMutableItem. Will be a deep-copy with copies of all childCodeMutableItems.
-