Uses of Class
net.ssehub.easy.varModel.model.datatypes.CustomOperation
Packages that use CustomOperation
Package
Description
Implements the evaluation of constraint syntax trees.
Base package for the variability model.
Base directory for the main datatype classes.
-
Uses of CustomOperation in net.ssehub.easy.varModel.cstEvaluation
Fields in net.ssehub.easy.varModel.cstEvaluation declared as CustomOperationModifier and TypeFieldDescriptionprivate CustomOperationDispatchInformation.bestMatchprivate CustomOperationDispatchInformation.operationMethods in net.ssehub.easy.varModel.cstEvaluation that return CustomOperationModifier and TypeMethodDescriptionprivate CustomOperationEvaluationVisitor.dynamicDispatch(CustomOperation operation, EvaluationAccessor[] args) Performs a dynamic dispatch ofoperationaccording to the given actual arguments inargs, i.e., this method searches and returns a method that fits better to the actual arguments then the statically bound operation.DispatchInformation.getBestMatch()Returns the best matching operation.Methods in net.ssehub.easy.varModel.cstEvaluation with parameters of type CustomOperationModifier and TypeMethodDescription(package private) static intEvaluationUtils.calculateDiff(CustomOperation operation, IDatatype returns, IDatatype[] argTypes) Returns the difference of the operations in terms of different (assignable) types.private CustomOperationEvaluationVisitor.dynamicDispatch(CustomOperation operation, EvaluationAccessor[] args) Performs a dynamic dispatch ofoperationaccording to the given actual arguments inargs, i.e., this method searches and returns a method that fits better to the actual arguments then the statically bound operation.private voidEvaluationVisitor.evaluateCustomOperation(CustomOperation operation, EvaluationAccessor operand, EvaluationAccessor[] args) Evaluates the given custom operation.(package private) voidLocalConfiguration.rebind(CustomOperation actual, CustomOperation replacement) Rebinds the parameters fromactualtoreplacement, e.g., for dynamic dispatch.private voidDispatchInformation.updateCounts(CustomOperation op) Updates the annotation counts if desired.Constructors in net.ssehub.easy.varModel.cstEvaluation with parameters of type CustomOperationModifierConstructorDescription(package private)DispatchInformation(CustomOperation operation, EvaluationAccessor[] args) Creates a dispatch information object (not counting annotations).DispatchInformation(CustomOperation operation, IDatatype[] argTypes, boolean countAnnotations) Creates a dispatch information object. -
Uses of CustomOperation in net.ssehub.easy.varModel.model
Fields in net.ssehub.easy.varModel.model declared as CustomOperationFields in net.ssehub.easy.varModel.model with type parameters of type CustomOperationMethods in net.ssehub.easy.varModel.model that return CustomOperationModifier and TypeMethodDescriptionOperationDefinition.getOperation()Returns the defined operation.Project.getOperation(int index) Returns the operation specified byindex.ProjectType.getOperation(int index) Methods in net.ssehub.easy.varModel.model with parameters of type CustomOperationModifier and TypeMethodDescriptionvoidProjectType.addOperation(CustomOperation operation) Adds a custom operation.booleanProjectType.removeOperation(CustomOperation operation) Removes a custom operation.voidOperationDefinition.setOperation(CustomOperation operation) Changes the defined operation. -
Uses of CustomOperation in net.ssehub.easy.varModel.model.datatypes
Subclasses of CustomOperation in net.ssehub.easy.varModel.model.datatypesModifier and TypeClassDescriptionclassImplements a non-static custom operation subject to dynamic dispatch while evaluation.Methods in net.ssehub.easy.varModel.model.datatypes that return CustomOperationModifier and TypeMethodDescriptionICustomOperationAccessor.getOperation(int index) Returns the operation specified byindex.