Class CustomDynamicOperation
java.lang.Object
net.ssehub.easy.varModel.model.datatypes.Operation
net.ssehub.easy.varModel.model.datatypes.CustomOperation
net.ssehub.easy.varModel.model.datatypes.CustomDynamicOperation
Implements a non-static custom operation subject to dynamic dispatch while evaluation.
- Author:
- Holger Eichelberger
-
Nested Class Summary
Nested classes/interfaces inherited from class net.ssehub.easy.varModel.model.datatypes.Operation
Operation.FormattingHint, Operation.NestingMode, Operation.ReturnTypeMode -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for serialization.CustomDynamicOperation(IDatatype returns, String methodname, IDatatype operand, ConstraintSyntaxTree function, DecisionVariableDeclaration[] parameters) Operation Constructor. -
Method Summary
Methods inherited from class net.ssehub.easy.varModel.model.datatypes.CustomOperation
getAnnotation, getAnnotationCount, getFunction, getParameter, getParameterCount, getParameterDeclaration, getRequiredParameterCount, hasAnnotation, hasAnnotation, registerAsOperation, setAnnotations, setFunctionMethods inherited from class net.ssehub.easy.varModel.model.datatypes.Operation
acceptsNull, createCollectionReturnType, createInfixOperator, createPostfixOperator, createPrefixOperator, getActualReturnType, getAlias, getFormattingHint, getName, getNestingMode, getOperand, getOperation, getOperationsCount, getParameterDefaultValue, getParameterType, getReturns, getReturnTypeMode, getSignature, isContainerOperation, isFallback, markAsAcceptsNull, markAsAliasOf, markAsAssignableParameterOperation, markAsContainerOperation, markAsFallback, markAsFlatteningContainerOperation, markAsNestingContainerOperation, markByFormattingHint, requiresAssignableParameter
-
Constructor Details
-
CustomDynamicOperation
CustomDynamicOperation()Constructor for serialization. -
CustomDynamicOperation
public CustomDynamicOperation(IDatatype returns, String methodname, IDatatype operand, ConstraintSyntaxTree function, DecisionVariableDeclaration[] parameters) Operation Constructor.- Parameters:
returns- result type of the operationmethodname- name of the operationoperand- the data type the operation is defined for (shall be a project)function- the operation calculated by this operationparameters- list of parameters for operation
-
-
Method Details