Interface CodeParameters
- All Superinterfaces:
CodeItem, CodeItemWithDeclaringType, CodeMergeableItem<CodeParameters>, CodeMutable, CodeMutableItem, CodeNode, CodeNodeContainer<CodeParameter>, CodeNodeItem, CodeNodeItemContainer<CodeParameter>, CodeNodeItemContainerFlat<CodeParameter>, CodeNodeItemContainerFlatWithName<CodeParameter>, CodeNodeItemContainerWithName<CodeParameter>, CodeNodeItemCopyable<CodeOperation, CodeParameters>, CodeOperationArgs<CodeParameter>, CodeSimpleMergeableItem<CodeParameters>, CodeWithContext, Iterable<CodeParameter>
public interface CodeParameters
extends CodeOperationArgs<CodeParameter>, CodeNodeItemContainerFlatWithName<CodeParameter>, CodeSimpleMergeableItem<CodeParameters>, CodeNodeItemCopyable<CodeOperation, CodeParameters>
- 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
Modifier and TypeMethodDescriptioncopy()default booleanisInvokable(CodeParameters parameters) default booleanisInvokable(CodeGenericType... parameterTypes) 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 CodeNodeItemContainerFlatWithName
getMethods inherited from interface CodeNodeItemContainerWithName
add, getDeclared, getDeclaredOrCreate, getOrCreate, getRequiredMethods inherited from interface CodeNodeItemCopyable
copy, getParentMethods inherited from interface CodeOperationArgs
getParentMethods inherited from interface CodeSimpleMergeableItem
merge, mergeMethods inherited from interface CodeWithContext
getContext, getSourceMethods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
isInvokable
-
isInvokable
- Parameters:
parameters- theCodeParametersrepresenting the expected signature to check.- Returns:
trueif this operation can be invoked with parameters of the givenCodeTypes,falseotherwise.
-
copy
CodeParameters copy()- Specified by:
copyin interfaceCodeMutableItem- Specified by:
copyin interfaceCodeNodeItem- Specified by:
copyin interfaceCodeNodeItemContainer<CodeParameter>- Specified by:
copyin interfaceCodeNodeItemContainerFlat<CodeParameter>- Specified by:
copyin interfaceCodeNodeItemContainerFlatWithName<CodeParameter>- Specified by:
copyin interfaceCodeNodeItemContainerWithName<CodeParameter>- Specified by:
copyin interfaceCodeNodeItemCopyable<CodeOperation, CodeParameters>- Specified by:
copyin interfaceCodeOperationArgs<CodeParameter>- Returns:
- a new
mutablecopy of thisCodeMutableItem. Will be a deep-copy with copies of all childCodeMutableItems.
-