Uses of Class
net.ssehub.easy.instantiation.core.model.vilTypes.OperationDescriptor
-
Packages that use OperationDescriptor Package Description de.uni_hildesheim.sse.ui.contentassist 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.tracing Common tracing functionality.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.instantiation.serializer.xml.converter This package contains all converters that are needed for serialization. -
-
Uses of OperationDescriptor in de.uni_hildesheim.sse.ui.contentassist
Methods in de.uni_hildesheim.sse.ui.contentassist that return types with arguments of type OperationDescriptor Modifier and Type Method Description private java.util.List<OperationDescriptor>VilBuildLangProposalProviderUtility. getAvailableInstantiators(org.eclipse.xtext.nodemodel.INode node)Returns a list with all available instantiators.private java.util.List<OperationDescriptor>VilBuildLangProposalProviderUtility. getAvailableOperations(org.eclipse.xtext.nodemodel.INode node)Get all VIL operations currently registered to EASy-Producer.private java.util.List<OperationDescriptor>VilBuildLangProposalProviderUtility. getValidTypeOperationList(org.eclipse.xtext.nodemodel.INode node)Returns a list of all valid operations for a specific VIL-type.private java.util.List<OperationDescriptor>VilBuildLangProposalProviderUtility. getValidTypeOperations(java.lang.String typeName, org.eclipse.xtext.nodemodel.INode node)Get all valid VIL operation for a specific VIL (artefact) type.Method parameters in de.uni_hildesheim.sse.ui.contentassist with type arguments of type OperationDescriptor Modifier and Type Method Description private java.util.List<org.eclipse.jface.viewers.StyledString>VilBuildLangProposalProviderUtility. opsToDisplayString(java.util.List<OperationDescriptor> operationsList)converts the operationnames into a content assist friendly format, which can be directly used to display.private voidVilBuildLangProposalProviderUtility. removeLogicalAndMathOperations(java.util.List<OperationDescriptor> operationList)Removes unneeded operations from the operationList. -
Uses of OperationDescriptor in net.ssehub.easy.instantiation.core.model.common
Methods in net.ssehub.easy.instantiation.core.model.common with parameters of type OperationDescriptor Modifier and Type Method Description voidExpressionStatement. applyConversionTo(OperationDescriptor op)Changes this statement by applying a conversion operation toExpressionStatement.expression. -
Uses of OperationDescriptor in net.ssehub.easy.instantiation.core.model.expressions
Fields in net.ssehub.easy.instantiation.core.model.expressions declared as OperationDescriptor Modifier and Type Field Description private OperationDescriptorCallExpression. resolvedMethods in net.ssehub.easy.instantiation.core.model.expressions that return OperationDescriptor Modifier and Type Method Description OperationDescriptorCallExpression. getResolved()Returns the resolved operation.Methods in net.ssehub.easy.instantiation.core.model.expressions with parameters of type OperationDescriptor Modifier and Type Method Description (package private) voidCallArgument. insertConversion(OperationDescriptor operation)Replaces the expression by a transparentCallExpressionexecuting the conversion.private java.lang.ObjectEvaluationVisitor. visitCall(AbstractCallExpression call, java.lang.Object parent, OperationDescriptor resolved, CallExpression.CallType type)Processes a call.voidITracer. visitedCallExpression(OperationDescriptor descriptor, CallExpression.CallType callType, java.lang.Object[] args, java.lang.Object result)Is called after a resolved call expression is actually executed.voidNoTracer. visitedCallExpression(OperationDescriptor descriptor, CallExpression.CallType callType, java.lang.Object[] args, java.lang.Object result)voidStreamTracer. visitedCallExpression(OperationDescriptor descriptor, CallExpression.CallType callType, java.lang.Object[] args, java.lang.Object result)voidITracer. visitingCallExpression(OperationDescriptor descriptor, CallExpression.CallType callType, java.lang.Object[] args)Is called before a resolved call expression is actually executed.voidNoTracer. visitingCallExpression(OperationDescriptor descriptor, CallExpression.CallType callType, java.lang.Object[] args)voidStreamTracer. visitingCallExpression(OperationDescriptor descriptor, CallExpression.CallType callType, java.lang.Object[] args)Constructors in net.ssehub.easy.instantiation.core.model.expressions with parameters of type OperationDescriptor Constructor Description CallExpression(OperationDescriptor operation, CallArgument arg)Creates a new transparent call expression from a conversion or optimization operation. -
Uses of OperationDescriptor in net.ssehub.easy.instantiation.core.model.tracing
Methods in net.ssehub.easy.instantiation.core.model.tracing with parameters of type OperationDescriptor Modifier and Type Method Description (package private) static booleanTracerHelper. trace(OperationDescriptor descriptor)Returns whether the givendescriptorshall be traced.voidAbstractVilTracer. visitedCallExpression(OperationDescriptor descriptor, CallExpression.CallType callType, java.lang.Object[] args, java.lang.Object result)voidAbstractVilTracer. visitingCallExpression(OperationDescriptor descriptor, CallExpression.CallType callType, java.lang.Object[] args) -
Uses of OperationDescriptor in net.ssehub.easy.instantiation.core.model.vilTypes
Subclasses of OperationDescriptor in net.ssehub.easy.instantiation.core.model.vilTypes Modifier and Type Class Description private static classCompoundTypeDescriptor.ConstructorOperationDescriptorThe constructor operation(s).private static classCompoundTypeDescriptor.TypeOperationDescriptorRepresents a type->name operation descriptor.classReflectionConstructorDescriptorImplements a reflection constructor descriptor.classReflectionOperationDescriptorRepresents an individual operation available to the VIL languages based on reflection analysis of the underlying class.Fields in net.ssehub.easy.instantiation.core.model.vilTypes declared as OperationDescriptor Modifier and Type Field Description private OperationDescriptor[]TypeDescriptor. conversionsprivate OperationDescriptor[]ClassWrapper. operationsprivate OperationDescriptor[]TypeDescriptor. operationsMethods in net.ssehub.easy.instantiation.core.model.vilTypes that return OperationDescriptor Modifier and Type Method Description OperationDescriptorAliasTypeDescriptor. addPlaceholderOperation(java.lang.String name, int parameterCount, boolean acceptsNamedParameters)OperationDescriptorCompoundTypeDescriptor. addPlaceholderOperation(java.lang.String name, int parameterCount, boolean acceptsNamedParameters)OperationDescriptorReflectionTypeDescriptor. addPlaceholderOperation(java.lang.String name, int parameterCount, boolean acceptsNamedParameters)abstract OperationDescriptorTypeDescriptor. 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.OperationDescriptorTypeDescriptor. findCollectionIteratorOperation(java.lang.String name)Returns a collection iterator operation with givenname.OperationDescriptorTypeDescriptor. findConversion(TypeDescriptor<?> sourceType, TypeDescriptor<?> targetType)Returns the most specific conversion operation from this type to target type (if there is any).static OperationDescriptorTypeDescriptor. findConversionOnBoth(TypeDescriptor<?> sourceType, TypeDescriptor<?> targetType)Returns the most specific conversion operation from this type to target type considering both types as declarators of the conversion operation (if there is any).OperationDescriptorTypeDescriptor. getConversion(int index)Returns the specified conversion.OperationDescriptorTypeDescriptor. getConversionToSequence()Returns the first registered conversion operation from this type to a sequence.OperationDescriptorTypeDescriptor. getOperation(int index)OperationDescriptorOperationDescriptor. specializeFor(TypeDescriptor<?> declaringType)Tries to specialize this operation descriptor for the given type, e.g., to consider the specific generic parameters of that type.OperationDescriptorReflectionOperationDescriptor. specializeFor(TypeDescriptor<?> declaringType)Methods in net.ssehub.easy.instantiation.core.model.vilTypes that return types with arguments of type OperationDescriptor Modifier and Type Method Description java.lang.Iterable<OperationDescriptor>TypeDescriptor. getConversions()Returns the available conversions.java.lang.Iterable<OperationDescriptor>TypeDescriptor. getOperations()Returns the available operations.Methods in net.ssehub.easy.instantiation.core.model.vilTypes with parameters of type OperationDescriptor Modifier and Type Method Description private voidReflectionTypeDescriptor. addOperation(java.util.Map<java.lang.String,OperationDescriptor> operations, java.lang.String sig, OperationDescriptor desc)Adds a specific operation descriptor via its signature to the temporary operation map.protected voidTypeDescriptor. addOperation(OperationDescriptor operation)Adds an operation.Method parameters in net.ssehub.easy.instantiation.core.model.vilTypes with type arguments of type OperationDescriptor Modifier and Type Method Description private voidReflectionTypeDescriptor. addConversions(java.lang.Class<?> cls, java.util.List<OperationDescriptor> convs)Adds the the conversions inclstoconvs.private voidReflectionTypeDescriptor. addMethod(java.util.Map<java.lang.String,OperationDescriptor> operations, java.lang.reflect.Method method, java.lang.String instantiatorName)Adds the given method to the operations map.private voidReflectionTypeDescriptor. addMethods(java.util.Map<java.lang.String,OperationDescriptor> operations, java.lang.Class<?> cls, java.lang.Class<?> start, java.lang.String instantiatorName)Adds all (relevant and not invisible) methods provided bycls.private voidReflectionTypeDescriptor. addOperation(java.util.Map<java.lang.String,OperationDescriptor> operations, java.lang.String sig, OperationDescriptor desc)Adds a specific operation descriptor via its signature to the temporary operation map.private booleanReflectionTypeDescriptor. registerAliasOperation(java.util.Map<java.lang.String,OperationDescriptor> operations, java.lang.reflect.Method method)Register the givenmethodas an alias operation, i.e., getters withoutConstants.GETTER_PREFIX.protected voidTypeDescriptor. setConversions(java.util.Collection<OperationDescriptor> conversions)Defines the conversions for this type.protected voidTypeDescriptor. setOperations(java.util.Collection<OperationDescriptor> operations)Defines the operations for this type. -
Uses of OperationDescriptor in net.ssehub.easy.instantiation.core.model.vilTypes.configuration
Subclasses of OperationDescriptor in net.ssehub.easy.instantiation.core.model.vilTypes.configuration 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 that return OperationDescriptor Modifier and Type Method Description OperationDescriptorFakeTypeDescriptor. addPlaceholderOperation(java.lang.String name, int parameterCount, boolean acceptsNamedParameters)OperationDescriptorIvmlProjectTypeDescriptor. addPlaceholderOperation(java.lang.String name, int parameterCount, boolean acceptsNamedParameters)OperationDescriptorIvmlTypeDescriptor. addPlaceholderOperation(java.lang.String name, int parameterCount, boolean acceptsNamedParameters)Methods in net.ssehub.easy.instantiation.core.model.vilTypes.configuration with parameters of type OperationDescriptor Modifier and Type Method Description protected static voidUtils. addOperation(OperationDescriptor operation, java.util.Map<java.lang.String,OperationDescriptor> operations)Adds a descriptor to the given signature-descriptor map.Method parameters in net.ssehub.easy.instantiation.core.model.vilTypes.configuration with type arguments of type OperationDescriptor Modifier and Type Method Description protected voidAbstractIvmlTypeDescriptor. addComparisonOperations(IDatatype type, java.util.Map<java.lang.String,OperationDescriptor> operations)Adds the default comparison operations.private voidIvmlTypeDescriptor. addCompoundOperations(IDatatype ivmlType, java.util.Map<java.lang.String,OperationDescriptor> operations, java.util.Map<java.lang.String,FieldDescriptor> fields)Adds the operations for compound types if needed.protected voidAbstractIvmlTypeDescriptor. addConversionOperations(IDatatype type, java.util.List<OperationDescriptor> operations)Adds required conversion operations tooperations.protected voidAbstractIvmlTypeDescriptor. addDecisionVariableOperations(java.util.Map<java.lang.String,OperationDescriptor> operations)Adds the operations to be taken over fromDecisionVariable.private voidIvmlTypeDescriptor. addDerivedTypeConversions(IDatatype ivmlType, java.util.List<OperationDescriptor> conversions)Adds the conversion operations for derived types if needed.private voidIvmlTypeDescriptor. addEnumOperations(IDatatype ivmlType, java.util.Map<java.lang.String,OperationDescriptor> operations)Adds the operations for enumeration types if needed.protected static voidUtils. addOperation(OperationDescriptor operation, java.util.Map<java.lang.String,OperationDescriptor> operations)Adds a descriptor to the given signature-descriptor map.private voidIvmlProjectTypeDescriptor. addOperations(java.util.Map<java.lang.String,OperationDescriptor> operations, java.util.Map<java.lang.String,FieldDescriptor> fields, Project project, java.util.Set<Project> done)Adds all operations ofprojectand its imports tooperations.private voidIvmlProjectTypeDescriptor. addOperations(DecisionVariableDeclaration decl, java.util.Map<java.lang.String,OperationDescriptor> operations, java.util.Map<java.lang.String,FieldDescriptor> fields)Adds operations for the given variable declaration.private voidIvmlProjectTypeDescriptor. addOperations(IDecisionVariableContainer cont, java.util.Map<java.lang.String,OperationDescriptor> operations, java.util.Map<java.lang.String,FieldDescriptor> fields)Adds operations for elements defined bycont. -
Uses of OperationDescriptor in net.ssehub.easy.instantiation.serializer.xml.converter
Methods in net.ssehub.easy.instantiation.serializer.xml.converter with parameters of type OperationDescriptor Modifier and Type Method Description voidAbstractDescriptorConverter. addAttributes(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, OperationDescriptor operationDescriptor)Adds the attributes to the node.Method parameters in net.ssehub.easy.instantiation.serializer.xml.converter with type arguments of type OperationDescriptor Modifier and Type Method Description private java.lang.ObjectAbstractDescriptorConverter. getOperationDescriptor(java.lang.String name, java.lang.Object result, java.lang.Iterable<OperationDescriptor> iterable, TypeDescriptor<?>[] parameters)Gets theOperationDescriptor.
-