Uses of Interface
net.ssehub.easy.instantiation.core.model.vilTypes.IMetaOperation
-
Packages that use IMetaOperation Package Description net.ssehub.easy.instantiation.core.model.buildlangModel Implements the abstract representation of the build language (parsed, analyzed and already linked, i.e.net.ssehub.easy.instantiation.core.model.common Implements the common language elements.net.ssehub.easy.instantiation.core.model.expressions Implements the common expression tree for the VIL languages.net.ssehub.easy.instantiation.core.model.templateModel The template language model.net.ssehub.easy.instantiation.core.model.vilTypes Contains the basic VIL types used as foundation for the artifact model and for integrating the variability model, i.e., types which are not artifacts themselves.net.ssehub.easy.instantiation.core.model.vilTypes.configuration All classes related to the EASy integration of configuration and decisions.net.ssehub.easy.producer.ui.productline_editor.instantiator This package holds classes for the instantiator editor. -
-
Uses of IMetaOperation in net.ssehub.easy.instantiation.core.model.buildlangModel
Classes in net.ssehub.easy.instantiation.core.model.buildlangModel that implement IMetaOperation Modifier and Type Class Description classAbstractRuleDefines an abstract VIL rule.classRuleRepresents a VIL build rule (production strategy).classVtlRuleMaps a VTL rule into VIL.Methods in net.ssehub.easy.instantiation.core.model.buildlangModel that return IMetaOperation Modifier and Type Method Description IMetaOperationScript. addPlaceholderOperation(java.lang.String name, int parameterCount, boolean acceptsNamedParameters)IMetaOperationScript. findConversion(IMetaType sourceType, IMetaType targetType)IMetaOperationScript. getOperation(int index)Methods in net.ssehub.easy.instantiation.core.model.buildlangModel that return types with arguments of type IMetaOperation Modifier and Type Method Description java.util.List<IMetaOperation>Script. getCandidates(java.lang.String name, int unnamedArgsCount)Methods in net.ssehub.easy.instantiation.core.model.buildlangModel with parameters of type IMetaOperation Modifier and Type Method Description booleanScript. checkConversion(IMetaType param, IMetaOperation conversion)protected java.lang.StringRuleCallExpression. getInvalidOperationMessage(IMetaOperation op) -
Uses of IMetaOperation in net.ssehub.easy.instantiation.core.model.common
Subinterfaces of IMetaOperation in net.ssehub.easy.instantiation.core.model.common Modifier and Type Interface Description interfaceIResolvableOperation<V extends IMetaParameterDeclaration>Defines the interface of a resolvable operation.Methods in net.ssehub.easy.instantiation.core.model.common that return IMetaOperation Modifier and Type Method Description IMetaOperationDummyModel. addPlaceholderOperation(java.lang.String name, int parameterCount, boolean acceptsNamedParameters)IMetaOperationDummyModel. findConversion(IMetaType sourceType, IMetaType targetType)IMetaOperationDummyModel. getOperation(int index)Methods in net.ssehub.easy.instantiation.core.model.common that return types with arguments of type IMetaOperation Modifier and Type Method Description java.util.List<IMetaOperation>DummyModel. getCandidates(java.lang.String name, int unnamedArgsCount)Methods in net.ssehub.easy.instantiation.core.model.common with parameters of type IMetaOperation Modifier and Type Method Description booleanDummyModel. checkConversion(IMetaType param, IMetaOperation conversion)protected java.lang.StringModelCallExpression. getInvalidOperationMessage(IMetaOperation op)Returns the message to be returned in case of an invalid operation.voidVariableDeclaration. resolveOperation(TypeDescriptor<?> type, IMetaOperation operation)Resolves a (temporary) initialization expression to aResolvableOperationExpression("function pointer"). -
Uses of IMetaOperation in net.ssehub.easy.instantiation.core.model.expressions
Fields in net.ssehub.easy.instantiation.core.model.expressions declared as IMetaOperation Modifier and Type Field Description private IMetaOperation[]AbstractCallExpression.ConvertibleOperation. conversionsprivate IMetaOperationAbstractCallExpression.ConvertibleOperation. operationprivate IMetaOperationResolvableOperationExpression. operationMethods in net.ssehub.easy.instantiation.core.model.expressions with type parameters of type IMetaOperation Modifier and Type Method Description static <O extends IMetaOperation>
OAbstractCallExpression. dynamicDispatch(O operation, java.lang.Object[] args, java.lang.Class<O> cls, TypeRegistry registry, IArgumentProvider arguments, IMetaType operandOverride)Aims at re-resolving the given operation according to the dynamic types ofargs.private static <O extends IMetaOperation>
IMetaTypeAbstractCallExpression. getOperand(O operation, IMetaType operandOverride)Methods in net.ssehub.easy.instantiation.core.model.expressions that return IMetaOperation Modifier and Type Method Description IMetaOperationResolvableOperationExpression. getOperation()Returns the resolved operation.private static IMetaOperationAbstractCallExpression. resolveFallbacks(IMetaType opType, java.lang.String name, CallArgument[] arguments)Last resort resolution, try with String or in case of a decision variable with the primitive types it can represent.static IMetaOperationAbstractCallExpression. resolveOperation(IMetaType operand, boolean checkMetaForFirstArgField, java.lang.String name, CallArgument[] arguments)Resolves the given operation onoperand, but allows checking the first field for a meta type (e.g., DecisionVariable instead of the actual field type).static IMetaOperationAbstractCallExpression. resolveOperation(IMetaType operand, java.lang.String name, CallArgument... arguments)Resolves the given operation onoperand.private static IMetaOperationAbstractCallExpression. resolveOperation(IMetaType operand, java.lang.String name, CallArgument[] arguments, boolean allowConversion, boolean allowAny)Actually aims at resolving the operation.private static IMetaOperationAbstractCallExpression. resolveOperationOnModel(java.lang.Object operand, java.lang.String name, CallArgument[] arguments, java.util.Set<java.lang.Object> done)Resolves the given operation onoperand, consideringoperandas a model with imports.static IMetaOperationAbstractCallExpression. resolveResolvableOperation(IMetaType operand, IMetaType pType, IMetaType aType, Expression initExpression, ResolutionListener listener)Resolves a resolvable operation ("function pointer").private static IMetaOperationAbstractCallExpression. tryOpConversionToSecond(IMetaType opType, java.lang.String name, CallArgument[] arguments)Tries to convert the operand to the second argument type and resolves it.Methods in net.ssehub.easy.instantiation.core.model.expressions that return types with arguments of type IMetaOperation Modifier and Type Method Description private static java.util.List<IMetaOperation>AbstractCallExpression. assignableCandidates(IMetaType operand, java.lang.String name, CallArgument[] arguments, int unnamedArgsCount, boolean allowAny)Derives the assignable candidates fromoperand, i.e., operations which can be directly applied with identical parameters or (second step) with assignable parameters but without parameter conversion.Methods in net.ssehub.easy.instantiation.core.model.expressions with parameters of type IMetaOperation Modifier and Type Method Description private static voidAbstractCallExpression. addAndPruneByType(java.util.List<IMetaOperation> candidates, IMetaOperation toAdd, IMetaType[] argTypes, CallArgument[] arguments, int unnamedArgsCount)AddstoAddtocandidatesif it is considered as the best candidate with respect to the givenargTypes.private static intAbstractCallExpression. calcTypeDiff(IMetaOperation operation, IMetaType[] argTypes, CallArgument[] arguments, int unnamedArgsCount)Calculates the differences in types between the givenoperationand the given argument types.protected static IMetaTypeAbstractCallExpression. getParameterType(IMetaOperation operation, int index, CallArgument[] arguments, int unnamedArgsCount)Returns the parameter type considering named parameters.protected java.lang.StringAbstractCallExpression. getVilSignature(IMetaOperation operation)Returns the VIL signature of the specifiedoperation.(package private) voidCallArgument. insertConversion(IMetaOperation operation)Replaces the expression by a transparentCallExpressionexecuting the conversion.protected static booleanAbstractCallExpression. isPlaceholder(IMetaOperation operation)Returns whether the specified operation is a placeholder and cannot be executed, i.e., the operation itself is a placeholder or a placeholder type is used in its signature.voidCallArgument. resolveOperation(TypeDescriptor<?> type, IMetaOperation operation)Resolves an operation, i.e., overwrites the expression.Method parameters in net.ssehub.easy.instantiation.core.model.expressions with type arguments of type IMetaOperation Modifier and Type Method Description private static voidAbstractCallExpression. addAndPruneByType(java.util.List<IMetaOperation> candidates, IMetaOperation toAdd, IMetaType[] argTypes, CallArgument[] arguments, int unnamedArgsCount)AddstoAddtocandidatesif it is considered as the best candidate with respect to the givenargTypes.private static java.lang.StringAbstractCallExpression. toSignatures(java.lang.Iterable<IMetaOperation> operations)Turns the signatures of the givenoperationsinto a string.Constructors in net.ssehub.easy.instantiation.core.model.expressions with parameters of type IMetaOperation Constructor Description CallExpression(IMetaOperation operation, CallArgument... param)Creates a new transparent call expression from a conversion or optimization operation.ConvertibleOperation(IMetaOperation operation, IMetaOperation[] conversions)Creates a convertible operation instance describing the operation as well as the required conversions per parameter.ResolvableOperationExpression(TypeDescriptor<?> type, IMetaOperation operation)Creates a resolvable operation expression, i.e., the expression which (basically) resolves a function pointer. -
Uses of IMetaOperation in net.ssehub.easy.instantiation.core.model.templateModel
Classes in net.ssehub.easy.instantiation.core.model.templateModel that implement IMetaOperation Modifier and Type Class Description classDefImplements a template language subtemplate ('def').Methods in net.ssehub.easy.instantiation.core.model.templateModel that return IMetaOperation Modifier and Type Method Description IMetaOperationTemplate. addPlaceholderOperation(java.lang.String name, int parameterCount, boolean acceptsNamedParameters)IMetaOperationTemplate. findConversion(IMetaType sourceType, IMetaType targetType)IMetaOperationTemplate. getOperation(int index)Methods in net.ssehub.easy.instantiation.core.model.templateModel that return types with arguments of type IMetaOperation Modifier and Type Method Description java.util.List<IMetaOperation>Template. getCandidates(java.lang.String name, int unnamedArgsCount)Methods in net.ssehub.easy.instantiation.core.model.templateModel with parameters of type IMetaOperation Modifier and Type Method Description booleanTemplate. checkConversion(IMetaType param, IMetaOperation conversion)protected java.lang.StringTemplateCallExpression. getInvalidOperationMessage(IMetaOperation op) -
Uses of IMetaOperation in net.ssehub.easy.instantiation.core.model.vilTypes
Classes in net.ssehub.easy.instantiation.core.model.vilTypes that implement IMetaOperation Modifier and Type Class Description private static classCompoundTypeDescriptor.ConstructorOperationDescriptorThe constructor operation(s).private static classCompoundTypeDescriptor.TypeOperationDescriptorRepresents a type->name operation descriptor.classOperationDescriptorRepresents an individual operation available to the VIL languages.classReflectionConstructorDescriptorImplements a reflection constructor descriptor.classReflectionOperationDescriptorRepresents an individual operation available to the VIL languages based on reflection analysis of the underlying class.Methods in net.ssehub.easy.instantiation.core.model.vilTypes with type parameters of type IMetaOperation Modifier and Type Method Description static <O extends IMetaOperation>
OTypeHelper. getMoreSpecificParam1(O op1, O op2)Returns the more specific operation based on the first parameter.Methods in net.ssehub.easy.instantiation.core.model.vilTypes that return IMetaOperation Modifier and Type Method Description IMetaOperationClassWrapper. addPlaceholderOperation(java.lang.String name, int parameterCount, boolean acceptsNamedParameters)IMetaOperationIMetaType. addPlaceholderOperation(java.lang.String name, int parameterCount, boolean acceptsNamedParameters)Adds a placeholder operation, i.e., in case that the original operation cannot be resolved but the script shall remain executable.IMetaOperationClassWrapper. findConversion(IMetaType sourceType, IMetaType targetType)IMetaOperationIMetaType. findConversion(IMetaType sourceType, IMetaType targetType)Returns the conversion operation from this type to target type (if there is any).IMetaOperationTypeDescriptor. findConversion(IMetaType sourceType, IMetaType targetType)Returns the most specific conversion operation from this type to target type (if there is any).static IMetaOperationTypeHelper. findConversion(IMetaType argType, IMetaType paramType)Tries to find a conversion among the given types.IMetaOperationClassWrapper. getOperation(int index)IMetaOperationIMetaType. getOperation(int index)Returns the specified operation.Methods in net.ssehub.easy.instantiation.core.model.vilTypes that return types with arguments of type IMetaOperation Modifier and Type Method Description java.util.List<IMetaOperation>ClassWrapper. getCandidates(java.lang.String name, int unnamedArgsCount)java.util.List<IMetaOperation>IMetaType. getCandidates(java.lang.String name, int unnamedArgsCount)Returns operation candidates matching the given name and number of unnamed (required) arguments.java.util.List<IMetaOperation>TypeDescriptor. getCandidates(java.lang.String name, int unnamedArgsCount)static java.util.List<IMetaOperation>TypeDescriptor. getCandidates(IMetaType type, java.lang.String name, int argCount)Returns the potential operation candidates for a givennameand parameter numbers on a specifictype.Methods in net.ssehub.easy.instantiation.core.model.vilTypes with parameters of type IMetaOperation Modifier and Type Method Description booleanAliasTypeDescriptor. checkConversion(IMetaType param, IMetaOperation conversion)booleanClassWrapper. checkConversion(IMetaType param, IMetaOperation conversion)booleanCompoundTypeDescriptor. checkConversion(IMetaType param, IMetaOperation conversion)booleanIMetaType. checkConversion(IMetaType param, IMetaOperation conversion)Checks a conversion from this type toparamvia the givenconversion.booleanReflectionTypeDescriptor. checkConversion(IMetaType param, IMetaOperation conversion) -
Uses of IMetaOperation in net.ssehub.easy.instantiation.core.model.vilTypes.configuration
Classes in net.ssehub.easy.instantiation.core.model.vilTypes.configuration that implement IMetaOperation Modifier and Type Class Description classAbstractIvmlTypeOperationDescriptorAn abstract basic operation descriptor for type operations.classFakeOperationDescriptorRepresents a fake operation descriptor, i.e., an operation which accepts every type of parameter and the result can be used everywhere.classIvmlComparisonOperationDescriptorImplements equality and unequality for the dynamic types.classIvmlConfigurationConversionOperationDescriptorDefines an operation descriptor which enables access to the underlying configuration.(package private) classIvmlConfigurationOperationDescriptorDefines an operation descriptor which enables comfortable access to a top-level decision variable by its name.classIvmlConstructorOperationDescriptorImplements an IMVL type constructor.classIvmlConversionOperationDescriptorDefines an operation descriptor which enables comfortable access to an individual decision variables via its name.(package private) classIvmlOperationDescriptorImplements a delegating operation descriptor, i.e., virtual operations representing access to IVML configuration data.classIvmlOrderedEnumComparisonOperationDescriptorRepresents the comparison operation for ordered IVML enums.classIvmlOrderedEnumMinMaxOperationDescriptorRepresents the minimum or maximum operation for ordered IVML enums.classIvmlSequenceConversionOperationDescriptorOperation descriptor for decision variable to sequence conversion usingAbstractIvmlVariable.variables().classIvmlSetConversionOperationDescriptorOperation descriptor for decision variable to sequence conversion usingAbstractIvmlVariable.variables().classIvmlToStringConversionOperationDescriptorPerforms a conversion of an object (usually anIvmlTypeDescriptorto a String.Methods in net.ssehub.easy.instantiation.core.model.vilTypes.configuration with parameters of type IMetaOperation Modifier and Type Method Description booleanFakeTypeDescriptor. checkConversion(IMetaType param, IMetaOperation conversion)booleanIvmlProjectTypeDescriptor. checkConversion(IMetaType param, IMetaOperation conversion)booleanIvmlTypeDescriptor. checkConversion(IMetaType param, IMetaOperation conversion) -
Uses of IMetaOperation in net.ssehub.easy.producer.ui.productline_editor.instantiator
Methods in net.ssehub.easy.producer.ui.productline_editor.instantiator that return types with arguments of type IMetaOperation Modifier and Type Method Description private java.util.Collection<IMetaOperation>InsertInstantiatorDialog. sortedInstantiators()Returns the sorted (available) instantiators.Methods in net.ssehub.easy.producer.ui.productline_editor.instantiator with parameters of type IMetaOperation Modifier and Type Method Description private voidInsertInstantiatorDialog. fillParams(IMetaOperation op)Fills the parameter table.static java.lang.StringTreeUtils. insertOperation(Script script, TreeNode node, TreeNode.InsertionPoint insertionPoint, IMetaOperation operation, Argument[] arguments)Insertsoperationatnodeinto the containing rule considering theinsertionPointand the user specified arguments.Method parameters in net.ssehub.easy.producer.ui.productline_editor.instantiator with type arguments of type IMetaOperation Modifier and Type Method Description private voidInsertInstantiatorDialog. addOperations(IMetaType type, java.util.TreeMap<java.lang.String,IMetaOperation> sorter)Adds the operations of the giventype.private voidInsertInstantiatorDialog. addScript(Script script, java.util.Set<Script> done, java.util.TreeMap<java.lang.String,IMetaOperation> sorter)Adds a script if not already done as well as its parent scripts.
-