Interface CodeOperationArgs<A extends CodeOperationArg>
- Type Parameters:
A- type of the containedCodeOperationArgs.
- All Superinterfaces:
CodeItem, CodeItemWithDeclaringType, CodeMutable, CodeMutableItem, CodeNode, CodeNodeContainer<A>, CodeNodeItem, CodeNodeItemContainer<A>, CodeNodeItemContainerFlat<A>, CodeWithContext, Iterable<A>
- All Known Subinterfaces:
CodeExceptions, CodeParameters
public interface CodeOperationArgs<A extends CodeOperationArg>
extends CodeNodeItemContainerFlat<A>, CodeItemWithDeclaringType
- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
- See Also:
-
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 CodeItemWithDeclaringType
getDeclaringTypeMethods 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 CodeWithContext
getContext, getSourceMethods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
getParent
CodeOperation getParent()- Specified by:
getParentin interfaceCodeNode- Specified by:
getParentin interfaceCodeNodeItemContainer<A extends CodeOperationArg>- Returns:
- the parent of this
CodeNode. May only benullfor instances ofCodeContext.
-
copy
CodeOperationArgs<A> copy()- Specified by:
copyin interfaceCodeMutableItem- Specified by:
copyin interfaceCodeNodeItem- Specified by:
copyin interfaceCodeNodeItemContainer<A extends CodeOperationArg>- Specified by:
copyin interfaceCodeNodeItemContainerFlat<A extends CodeOperationArg>- Returns:
- a new
mutablecopy of thisCodeMutableItem. Will be a deep-copy with copies of all childCodeMutableItems.
-