Uses of Class
net.ssehub.easy.instantiation.core.model.vilTypes.TypeDescriptor
-
-
Uses of TypeDescriptor in de.uni_hildesheim.sse.buildLanguageTranslation
Methods in de.uni_hildesheim.sse.buildLanguageTranslation that return TypeDescriptor Modifier and Type Method Description protected abstract TypeDescriptor<?>AbstractModelTranslator.AbstractRuleTranslator. getReturnType(D ruleDecl, Resolver resolver)Returns the result type of the givenruleDecl.protected TypeDescriptor<?>AbstractModelTranslator.RuleTranslator. getReturnType(de.uni_hildesheim.sse.vilBuildLanguage.RuleDeclaration ruleDecl, Resolver resolver)Methods in de.uni_hildesheim.sse.buildLanguageTranslation with parameters of type TypeDescriptor Modifier and Type Method Description protected VariableDeclarationExpressionTranslator. createImplicitVariableDeclaration(java.lang.String name, TypeDescriptor<?> type, boolean isConstant, Expression expression, Resolver resolver)protected abstract RAbstractModelTranslator.AbstractRuleTranslator. createRule(D ruleDecl, TypeDescriptor<?> returnType, VariableDeclaration[] params, M parent)Creates a specific rule from the given declaration, parameters and parent.protected RuleAbstractModelTranslator.RuleTranslator. createRule(de.uni_hildesheim.sse.vilBuildLanguage.RuleDeclaration ruleDecl, TypeDescriptor<?> returnType, VariableDeclaration[] params, M parent)protected TypedefAbstractModelTranslator. createTypedef(java.lang.String name, TypeDescriptor<?> type)protected VariableDeclarationExpressionTranslator. createVariableDeclaration(java.lang.String name, TypeDescriptor<?> type, boolean isConstant, Expression expression, Resolver resolver) -
Uses of TypeDescriptor in de.uni_hildesheim.sse.vil.expressions.translation
Fields in de.uni_hildesheim.sse.vil.expressions.translation declared as TypeDescriptor Modifier and Type Field Description private TypeDescriptor<?>DeferredResolvableOperationExpression. varTypeMethods in de.uni_hildesheim.sse.vil.expressions.translation that return TypeDescriptor Modifier and Type Method Description (package private) TypeDescriptor<?>DeferredResolvableOperationExpression. getVarType()Returns the variable type.TypeDescriptor<?>DeferredResolvableOperationExpression. inferType()TypeDescriptor<?>ExpressionTranslator. processType(de.uni_hildesheim.sse.vil.expressions.expressionDsl.Type type, R resolver)Processes the given type and tries to resolve it to a VIL type.protected TypeDescriptor<?>[]ExpressionTranslator. processTypeParameter(de.uni_hildesheim.sse.vil.expressions.expressionDsl.TypeParameters param, de.uni_hildesheim.sse.vil.expressions.expressionDsl.Type type, R resolver)Processes the type parameter.private TypeDescriptor<?>ExpressionTranslator. resolveModelType(de.uni_hildesheim.sse.vil.expressions.expressionDsl.Type type, java.lang.String typeName, R resolver)Resolves a model type.Methods in de.uni_hildesheim.sse.vil.expressions.translation with parameters of type TypeDescriptor Modifier and Type Method Description protected static ExpressionExpressionTranslator. createConstant(TypeDescriptor<?> type, java.lang.Object value, org.eclipse.emf.ecore.EObject cause, org.eclipse.emf.ecore.EStructuralFeature causingFeature, TypeRegistry registry)Creates a constant.protected abstract IExpressionTranslator. createImplicitVariableDeclaration(java.lang.String name, TypeDescriptor<?> type, boolean isConstant, Expression expression, R resolver)Creates a new implicit variable declaration.protected abstract TypedefModelTranslator. createTypedef(java.lang.String name, TypeDescriptor<?> type)Creates a typdef object.protected abstract IExpressionTranslator. createVariableDeclaration(java.lang.String name, TypeDescriptor<?> type, boolean isConstant, Expression expression, R resolver)Creates a new variable declaration.ExpressionExpressionTranslator. processAssignment(org.eclipse.emf.ecore.EObject cause, TypeDescriptor<?> type, de.uni_hildesheim.sse.vil.expressions.expressionDsl.Expression ex, R resolver)Processes an assignment.private java.util.ArrayList<I>ExpressionTranslator. processDeclarators(de.uni_hildesheim.sse.vil.expressions.expressionDsl.Call call, TypeDescriptor<?> implicitType, java.util.List<CallArgument> arguments, R resolver)Processes a declarator.private voidExpressionTranslator. throwVariableCannotBeInitialized(org.eclipse.emf.ecore.EObject cause, java.lang.String name, TypeDescriptor<?> declType, TypeDescriptor<?> initType)Throws aTranslatorExceptionthat a variable cannot be initialized.Constructors in de.uni_hildesheim.sse.vil.expressions.translation with parameters of type TypeDescriptor Constructor Description DeferredResolvableOperationExpression(org.eclipse.emf.ecore.EObject cause, TypeDescriptor<?> varType, Expression init)Creates a resolvable operation expression. -
Uses of TypeDescriptor in de.uni_hildesheim.sse.vil.templatelang.templateLanguageTranslation
Methods in de.uni_hildesheim.sse.vil.templatelang.templateLanguageTranslation with parameters of type TypeDescriptor Modifier and Type Method Description protected VariableDeclarationExpressionTranslator. createImplicitVariableDeclaration(java.lang.String name, TypeDescriptor<?> type, boolean isConstant, Expression expression, Resolver resolver)protected TypedefModelTranslator. createTypedef(java.lang.String name, TypeDescriptor<?> type)protected VariableDeclarationExpressionTranslator. createVariableDeclaration(java.lang.String name, TypeDescriptor<?> type, boolean isConstant, Expression expression, Resolver resolver) -
Uses of TypeDescriptor in net.ssehub.easy.instantiation.core.model.artifactModel
Methods in net.ssehub.easy.instantiation.core.model.artifactModel that return TypeDescriptor Modifier and Type Method Description static TypeDescriptor<?>ArtifactTypes. artifactType()Returns the type descriptor for the built-in type 'Artifact'.static TypeDescriptor<?>ArtifactTypes. pathType()Returns the type descriptor for the built-in type 'Path'. -
Uses of TypeDescriptor in net.ssehub.easy.instantiation.core.model.buildlangModel
Fields in net.ssehub.easy.instantiation.core.model.buildlangModel declared as TypeDescriptor Modifier and Type Field Description private TypeDescriptor<?>[]ForStatement. givenTypesprivate TypeDescriptor<?>[]MapExpression. givenTypesprivate TypeDescriptor<?>[]OtherProjects. parameterprivate TypeDescriptor<?>Rule. returnTypeprivate TypeDescriptor<?>RuleDescriptor. returnTypeprivate TypeDescriptor<?>AlternativeExpression. typeprivate TypeDescriptor<?>JoinExpression. typeprivate TypeDescriptor<?>MapExpression. typeprivate TypeDescriptor<?>OtherProjects. typestatic TypeDescriptor<?>RuleExecutionResult. TYPEMethods in net.ssehub.easy.instantiation.core.model.buildlangModel that return TypeDescriptor Modifier and Type Method Description protected TypeDescriptor<?>StrategyCallExpression. determineOperand()TypeDescriptor<?>Rule. getDefaultReturnType()Returns the default return type that shall not be emitted / does not require return expressions.TypeDescriptor<?>OtherProjects. getGenericParameterType(int index)TypeDescriptor<?>Script. getGenericParameterType(int index)TypeDescriptor<?>ForStatement. getGivenType(int index)TypeDescriptor<?>IEnumeratingLoop. getGivenType(int index)Returns the specified given type (further specifying toIEnumeratingLoop.getVariable(int)).TypeDescriptor<?>MapExpression. getGivenType(int index)private static TypeDescriptor<?>JoinVariableDeclaration. getJoinVariableType(Expression expr)Determine the type of the join variable from the initializing expression.TypeDescriptor<?>Rule. getReturnType()TypeDescriptor<?>RuleDescriptor. getReturnType()Returns the return type of this rule descriptor.TypeDescriptor<?>VtlRule. getReturnType()TypeDescriptor<?>OtherProjects. getType()TypeDescriptor<?>AlternativeExpression. inferType()TypeDescriptor<?>InstantiateExpression. inferType()TypeDescriptor<?>JoinExpression. inferType()TypeDescriptor<?>MapExpression. inferType()TypeDescriptor<?>StrategyCallExpression. inferType()private TypeDescriptor<?>StrategyCallExpression. inferTypeExecute()Resolves the expression for system call execution.Methods in net.ssehub.easy.instantiation.core.model.buildlangModel with parameters of type TypeDescriptor Modifier and Type Method Description private static java.lang.ObjectBuildlangExecution. mapResult(TypeDescriptor<?> mapType, java.util.List<java.lang.Object> result, boolean failed)Creates the actual result of executing aMapExpression.Set<IArtifact>OtherProjects. selectByKind(TypeDescriptor<?> type)Set<IArtifact>OtherProjects. selectByType(TypeDescriptor<?> type)voidRuleDescriptor. setReturnType(TypeDescriptor<?> returnType)Defines the return type of this rule descriptor.Set<IArtifact>OtherProjects. typeReject(TypeDescriptor<?> type)Constructors in net.ssehub.easy.instantiation.core.model.buildlangModel with parameters of type TypeDescriptor Constructor Description ForStatement(VariableDeclaration[] variables, Expression expr, IRuleElement[] body, TypeDescriptor<?>[] givenTypes, boolean colon)Creates a for statement.ImplicitVariableDeclaration(java.lang.String name, TypeDescriptor<?> type, boolean isConstant, Expression expression)Creates a new variable declaration.MapExpression(VariableDeclaration[] variables, Expression expr, IRuleElement[] body, TypeDescriptor<?>[] givenTypes, boolean colon)Creates a map statement.Rule(java.lang.String name, boolean isProtected, TypeDescriptor<?> returnType, VariableDeclaration[] parameters, Script parent)Create a new rule with the given name.TypeDef(java.lang.String name, TypeDescriptor<?> type, Script parent)Creates a typedef.VariableDeclaration(java.lang.String name, TypeDescriptor<?> type)Creates a new variable declaration.VariableDeclaration(java.lang.String name, TypeDescriptor<?> type, boolean isConstant, Expression expression)Creates a new variable declaration. -
Uses of TypeDescriptor in net.ssehub.easy.instantiation.core.model.buildlangModel.execOperand
Methods in net.ssehub.easy.instantiation.core.model.buildlangModel.execOperand with parameters of type TypeDescriptor Modifier and Type Method Description static IExecutableOperandTypeExecutableOperand. getExecutableType(TypeDescriptor<?> type)Returns the executable operand type for the giventype.booleanFileArtifactExecutableOperandType. sameType(TypeDescriptor<?> type)booleanFileSystemArtifactExecutableOperandType. sameType(TypeDescriptor<?> type)booleanIExecutableOperandType. sameType(TypeDescriptor<?> type)Returns whether the giventypeis the same as this class can process.booleanPathExecutableOperandType. sameType(TypeDescriptor<?> type)booleanStringExecutableOperandType. sameType(TypeDescriptor<?> type) -
Uses of TypeDescriptor in net.ssehub.easy.instantiation.core.model.buildlangModel.ruleMatch
Fields in net.ssehub.easy.instantiation.core.model.buildlangModel.ruleMatch declared as TypeDescriptor Modifier and Type Field Description private static TypeDescriptor<?>MatchFactory. ARTIFACTprivate static TypeDescriptor<?>MatchFactory. BOOLEANprivate static TypeDescriptor<?>MatchFactory. PATHprivate static TypeDescriptor<?>MatchFactory. STRINGprivate TypeDescriptor<? extends Collection<? extends IArtifact>>CollectionMatchExpression. typeMethods in net.ssehub.easy.instantiation.core.model.buildlangModel.ruleMatch that return TypeDescriptor Modifier and Type Method Description protected static TypeDescriptor<? extends Collection<? extends IArtifact>>AbstractRuleMatchExpression. ensureType(TypeDescriptor<?> type)Ensures a collection type fortype.abstract TypeDescriptor<?>AbstractRuleMatchExpression. getEntryType()Returns the entry type over which this match expression will be able to iterate.TypeDescriptor<?>ArtifactMatchExpression. getEntryType()TypeDescriptor<?>BooleanMatchExpression. getEntryType()TypeDescriptor<?>CollectionMatchExpression. getEntryType()TypeDescriptor<?>CompoundMatchExpression. getEntryType()TypeDescriptor<?>PathMatchExpression. getEntryType()TypeDescriptor<?>StringMatchExpression. getEntryType()TypeDescriptor<? extends Collection<? extends IArtifact>>AbstractRuleMatchExpression. inferType()TypeDescriptor<? extends Collection<? extends IArtifact>>CollectionMatchExpression. inferType()Methods in net.ssehub.easy.instantiation.core.model.buildlangModel.ruleMatch with parameters of type TypeDescriptor Modifier and Type Method Description protected static TypeDescriptor<? extends Collection<? extends IArtifact>>AbstractRuleMatchExpression. ensureType(TypeDescriptor<?> type)Ensures a collection type fortype. -
Uses of TypeDescriptor in net.ssehub.easy.instantiation.core.model.common
Fields in net.ssehub.easy.instantiation.core.model.common declared as TypeDescriptor Modifier and Type Field Description private TypeDescriptor<?>Typedef. typeprivate TypeDescriptor<?>VariableDeclaration. typeMethods in net.ssehub.easy.instantiation.core.model.common that return TypeDescriptor Modifier and Type Method Description TypeDescriptor<?>DummyModel. getGenericParameterType(int index)TypeDescriptor<?>IResolvableOperation. getReturnType()Returns the return type of this operation.TypeDescriptor<?>Compound. getType()Returns the defined type.TypeDescriptor<?>Typedef. getType()Returns the represented type.TypeDescriptor<?>VariableDeclaration. getType()Returns the type of this variable.TypeDescriptor<?>ModelCallExpression. inferType()TypeDescriptor<?>Resolver. resolveType(java.lang.String name)private TypeDescriptor<?>Resolver. resolveType(M model, java.lang.String name)Resolves a type within the given model, i.e., looks for model-specific type definitions.Methods in net.ssehub.easy.instantiation.core.model.common with parameters of type TypeDescriptor Modifier and Type Method Description private static java.lang.ObjectRuntimeEnvironment. checkInitialCollectionValue(TypeDescriptor<?> type, java.lang.Object object)Checks initial collection values for type compliance.static java.lang.ObjectRuntimeEnvironment. checkType(java.lang.String name, TypeDescriptor<?> type, java.lang.Object object, TypeRegistry registry, java.util.function.Supplier<java.lang.String> modelName)Checks whetherobjectcan be assigned to some form of variable/field with namenameand typetype.private static java.lang.ObjectRuntimeEnvironment. evaluatePrimitives(java.lang.Object object, DecisionVariable decVar, TypeDescriptor<?> varType)EvaluatesdecVarto its primitive value according tovarType.voidVariableDeclaration. resolveOperation(TypeDescriptor<?> type, IMetaOperation operation)Resolves a (temporary) initialization expression to aResolvableOperationExpression("function pointer").Constructors in net.ssehub.easy.instantiation.core.model.common with parameters of type TypeDescriptor Constructor Description Typedef(java.lang.String name, TypeDescriptor<?> type)Creates a typedef.VariableDeclaration(java.lang.String name, TypeDescriptor<?> type)Creates a new variable declaration.VariableDeclaration(java.lang.String name, TypeDescriptor<?> type, boolean isConstant, Expression expression)Creates a new variable declaration. -
Uses of TypeDescriptor in net.ssehub.easy.instantiation.core.model.execution
Methods in net.ssehub.easy.instantiation.core.model.execution that return TypeDescriptor Modifier and Type Method Description private static TypeDescriptor<?>[]Executor. unknownCollectionType()Returns an unknown VIL collection type.private static TypeDescriptor<?>[]Executor. unknownMapType()Returns an unknown VIL map type. -
Uses of TypeDescriptor in net.ssehub.easy.instantiation.core.model.expressions
Fields in net.ssehub.easy.instantiation.core.model.expressions declared as TypeDescriptor Modifier and Type Field Description private TypeDescriptor<?>VilTypeExpression. resolvedprivate TypeDescriptor<?>CallArgument. typeprivate TypeDescriptor<?>CallExpression. typeprivate TypeDescriptor<?>ConstantExpression. typeprivate TypeDescriptor<?>ConstructorCallExpression. typeprivate TypeDescriptor<?>ContainerInitializerExpression. typeprivate TypeDescriptor<?>ResolvableOperationExpression. typeprivate TypeDescriptor<?>VarModelIdentifierExpression. typeMethods in net.ssehub.easy.instantiation.core.model.expressions that return TypeDescriptor Modifier and Type Method Description private TypeDescriptor<?>[]CallExpression. checkUseParameter()Checks whether one of the parameter / argument types shall be used.private TypeDescriptor<?>CallExpression. considerIteratorResult(TypeDescriptor<?> result)Considers the potential explicit result type of an iterator.private TypeDescriptor<?>CallExpression. considerReturnGenerics(TypeDescriptor<?> type, TypeDescriptor<?>[] returnGenerics)Considers the return generics ontype.protected TypeDescriptor<?>CallExpression. determineOperand()Determines the operand for searching operations on.protected TypeDescriptor<?>ConstructorCallExpression. determineOperand()Determines the operand for searching operations on.TypeDescriptor<?>VilTypeExpression. getResolved()Returns the resolved element.TypeDescriptor<?>ExpressionEvaluator. getResultType()Returns the explicit result type of an aggregating iterator.TypeDescriptor<?>ConstantExpression. getType()Returns the type of this expression.TypeDescriptor<?>ResolvableOperationExpression. getType()Returns the resolvable type descriptor framing the operation.TypeDescriptor<?>VarModelIdentifierExpression. getType()Returns the related type (without potential exception).TypeDescriptor<?>CallArgument. inferType()Infers the type of this expression including the type of the contained sub-expressions.TypeDescriptor<?>CallExpression. inferType()TypeDescriptor<?>CompositeExpression. inferType()TypeDescriptor<?>ConstantExpression. inferType()TypeDescriptor<?>ContainerInitializerExpression. inferType()abstract TypeDescriptor<?>Expression. inferType()Infers the type of this expression including the type of the contained sub-expressions.TypeDescriptor<?>ExpressionEvaluator. inferType()TypeDescriptor<?>FieldAccessExpression. inferType()TypeDescriptor<?>InPlaceCommand. inferType()TypeDescriptor<?>MultiAndExpression. inferType()TypeDescriptor<?>ParenthesisExpression. inferType()TypeDescriptor<?>ResolvableOperationCallExpression. inferType()TypeDescriptor<?>ResolvableOperationExpression. inferType()TypeDescriptor<?>StringExpression. inferType()TypeDescriptor<?>ValueAssignmentExpression. inferType()TypeDescriptor<?>VariableExpression. inferType()TypeDescriptor<?>VarModelIdentifierExpression. inferType()TypeDescriptor<?>VilTypeExpression. inferType()private static TypeDescriptor<?>ContainerInitializerExpression. moreCommon(TypeDescriptor<?> t1, TypeDescriptor<?> t2)Returns the more common type.TypeDescriptor<?>Resolver. resolveType(java.lang.String name)Resolves a type within the known contexts / models.Methods in net.ssehub.easy.instantiation.core.model.expressions with parameters of type TypeDescriptor Modifier and Type Method Description private booleanConstantExpression. checkAndConvert(TypeDescriptor<?> checkFor)Checks the given type for compatibility withConstantExpression.valueand converts value if necessary and possible.private TypeDescriptor<?>CallExpression. considerIteratorResult(TypeDescriptor<?> result)Considers the potential explicit result type of an iterator.private TypeDescriptor<?>CallExpression. considerReturnGenerics(TypeDescriptor<?> type, TypeDescriptor<?>[] returnGenerics)Considers the return generics ontype.protected ContainerInitializerExpressionContainerInitializerExpression. createInitExpression(Expression[] initExpressions, TypeDescriptor<?> type)Creates a container initializer instance forContainerInitializerExpression.toSet().protected ContainerInitializerExpressionImplicitContainerInitializerExpression. createInitExpression(Expression[] initExpressions, TypeDescriptor<?> type)IIStringParserFactory. createVariableDeclaration(java.lang.String name, TypeDescriptor<?> type)Creates a non-constant variable declaration.private static TypeDescriptor<?>ContainerInitializerExpression. moreCommon(TypeDescriptor<?> t1, TypeDescriptor<?> t2)Returns the more common type.protected voidExpressionWriter. printType(TypeDescriptor<?> type)Prints the given type.voidCallArgument. resolveOperation(TypeDescriptor<?> type, IMetaOperation operation)Resolves an operation, i.e., overwrites the expression.Constructors in net.ssehub.easy.instantiation.core.model.expressions with parameters of type TypeDescriptor Constructor Description CallArgument(java.lang.String name, TypeDescriptor<?> type)Creates a named call argument from a given runtime type.CallArgument(TypeDescriptor<?> type)Creates a call argument for runtime operation resolution.ConstantExpression(TypeDescriptor<?> type, java.lang.Object value, TypeRegistry registry)Creates a new constant expression.ConstructorCallExpression(TypeDescriptor<?> type, CallArgument... arguments)Creates a constructor call.ConstructorCallExpression(TypeDescriptor<?> type, Expression... arguments)Creates a constructor call.ContainerInitializerExpression(Expression[] initExpressions, TypeDescriptor<?> type)Internal constructor for set initialization.ImplicitContainerInitializerExpression(Expression[] initExpressions, TypeDescriptor<?> type)Internal constructor for set initialization.ResolvableOperationExpression(TypeDescriptor<?> type, IMetaOperation operation)Creates a resolvable operation expression, i.e., the expression which (basically) resolves a function pointer.VarModelIdentifierExpression(java.lang.String identifier, TypeDescriptor<?> type, IModel model)Creates the representing instance.VarModelIdentifierExpression(java.lang.String identifier, TypeDescriptor<?> type, ITypedModel model)Creates the representing instance.VilTypeExpression(java.lang.String identifier, TypeDescriptor<?> resolved)Creates the representing instance. -
Uses of TypeDescriptor in net.ssehub.easy.instantiation.core.model.templateModel
Fields in net.ssehub.easy.instantiation.core.model.templateModel declared as TypeDescriptor Modifier and Type Field Description private TypeDescriptor<?>Def. specifiedTypeMethods in net.ssehub.easy.instantiation.core.model.templateModel that return TypeDescriptor Modifier and Type Method Description TypeDescriptor<?>Template. getGenericParameterType(int index)TypeDescriptor<?>Def. getReturnType()TypeDescriptor<?>Def. getSpecifiedType()The specified type.TypeDescriptor<?>AlternativeStatement. inferType()TypeDescriptor<?>ContentStatement. inferType()TypeDescriptor<?>Def. inferType()TypeDescriptor<?>ExpressionStatement. inferType()TypeDescriptor<?>FlushStatement. inferType()TypeDescriptor<?>InContentExpression. inferType()TypeDescriptor<?>ITemplateElement. inferType()Infers the type of this language element.TypeDescriptor<?>LoopStatement. inferType()TypeDescriptor<?>SwitchStatement.Alternative. inferType()Infers the type of this alternative based on its value.TypeDescriptor<?>SwitchStatement. inferType()TypeDescriptor<?>TemplateBlock. inferType()TypeDescriptor<?>VariableDeclaration. inferType()TypeDescriptor<?>WhileStatement. inferType()Methods in net.ssehub.easy.instantiation.core.model.templateModel with parameters of type TypeDescriptor Modifier and Type Method Description private booleanDef. checkEmptyContainerIntializerCompliance(TypeDescriptor<?> result, TypeDescriptor<?> specifiedType)Checks the given inferredresulttype and the specified result typespecifiedTypefor type compliance against direct return of an empty container initializer.VariableDeclarationStringResolverFactory. createVariableDeclaration(java.lang.String name, TypeDescriptor<?> type)Constructors in net.ssehub.easy.instantiation.core.model.templateModel with parameters of type TypeDescriptor Constructor Description Def(java.lang.String name, VariableDeclaration[] param, ITemplateElement[] body, TypeDescriptor<?> specifiedType, Template parent)Creates a new sub-template ('def').ImplicitVariableDeclaration(java.lang.String name, TypeDescriptor<?> type, boolean isConstant, Expression expression)Creates a new implicit variable declaration.TypeDef(java.lang.String name, TypeDescriptor<?> type, Template parent)Creates a typedef.VariableDeclaration(java.lang.String name, TypeDescriptor<?> type)Creates a new variable declaration.VariableDeclaration(java.lang.String name, TypeDescriptor<?> type, boolean isConstant, Expression expression)Creates a new variable declaration. -
Uses of TypeDescriptor in net.ssehub.easy.instantiation.core.model.tracing
Fields in net.ssehub.easy.instantiation.core.model.tracing with type parameters of type TypeDescriptor Modifier and Type Field Description private static java.util.Set<TypeDescriptor<?>>TracerHelper. EXCLUDED_TYPESThe types excluded from tracing. -
Uses of TypeDescriptor in net.ssehub.easy.instantiation.core.model.vilTypes
Subclasses of TypeDescriptor in net.ssehub.easy.instantiation.core.model.vilTypes Modifier and Type Class Description classActualValueReflectionTypeDescriptor<T>Allows the use theIActualValueProvidermechanism for reflective types.(package private) classAliasTypeDescriptor<T>Defines a delegating alias type.classCompoundTypeDescriptorImplements a compound type descriptor.classReflectionTypeDescriptor<T>Represents an actual type based on reflection analysis of the underlying class.Fields in net.ssehub.easy.instantiation.core.model.vilTypes declared as TypeDescriptor Modifier and Type Field Description static TypeDescriptor<PseudoAny>ReflectionTypeDescriptor. ANYprivate TypeDescriptor<?>FieldDescriptor. declaringTypeprivate TypeDescriptor<?>OperationDescriptor. declaringTypestatic TypeDescriptor<?>[]TypeDescriptor. EMPTYprivate TypeDescriptor<?>FieldDescriptor. fieldTypeprivate TypeDescriptor<?>[]Map. genericsprivate TypeDescriptor<?>[]TypeDescriptor. parameterprivate TypeDescriptor<?>[]AbstractArrayWrapper. paramsprivate TypeDescriptor<?>[]AbstractListWrapper. paramsprivate TypeDescriptor<?>[]SetSet. paramsstatic TypeDescriptor<?>[]ReflectionTypeDescriptor. PSEUDO_TYPESprivate TypeDescriptor<?>OperationDescriptor. returnTypeprivate TypeDescriptor<?>AbstractArrayWrapper. typeprivate TypeDescriptor<?>AbstractListWrapper. typeprivate TypeDescriptor<T>AliasTypeDescriptor. typeprivate TypeDescriptor<?>Map. typeprivate TypeDescriptor<?>ReflectionOperationParameter. typeprivate TypeDescriptor<?>SetSet. typestatic TypeDescriptor<PseudoType>ReflectionTypeDescriptor. TYPEstatic TypeDescriptor<PseudoVersion>ReflectionTypeDescriptor. VERSIONstatic TypeDescriptor<PseudoVoid>ReflectionTypeDescriptor. VOIDFields in net.ssehub.easy.instantiation.core.model.vilTypes with type parameters of type TypeDescriptor Modifier and Type Field Description static java.util.List<TypeDescriptor<?>>OperationDescriptor. EMPTY_PARAMETERDefines a constant unmodifiable list for empty parameters.private java.util.Map<IDatatype,TypeDescriptor<?>>TypeRegistry. fallbacksprivate java.util.Map<java.lang.String,TypeDescriptor<? extends IVilType>>TypeRegistry. instantiatorsStores the registered instantiators.private java.util.List<TypeDescriptor<?>>OperationDescriptor. parameterprivate java.util.Map<java.lang.String,TypeDescriptor<?>>TypeRegistry. typesStores the registered types.Methods in net.ssehub.easy.instantiation.core.model.vilTypes that return TypeDescriptor Modifier and Type Method Description static TypeDescriptor<?>TypeRegistry. anyType()Returns the type descriptor for the built-in type 'any'.static TypeDescriptor<?>TypeRegistry. booleanType()Returns the type descriptor for the built-in type 'Boolean'.protected static TypeDescriptor<?>AbstractCollectionWrapper. constructType(TypeDescriptor<?>[] param, boolean set)Constructs a collection type.TypeDescriptor<?>[]TypeRegistry. convert(java.lang.Class<?> param)Converts a class into a set of type descriptors.TypeDescriptor<?>[]TypeRegistry. convert(java.lang.Class<?>... params)Converts a set of classes into type descriptors.static TypeDescriptor<?>[]TypeDescriptor. createArray(int length)Creates an empty array of type descriptors.private static TypeDescriptor<?>[]ReflectionResolver. createParameter(java.lang.Class<?>[] generics, int count, IntHolder pos)Creates the type parameters in a recursive way.TypeDescriptor<?>TypeRegistry. findType(java.lang.Class<?> cls)Finds the type descriptor for a given class.TypeDescriptor<?>TypeRegistry. findType(java.lang.Class<?> cls, boolean addIfMissing)Finds the type descriptor for a given class.private TypeDescriptor<?>TypeRegistry. findType(java.lang.String name)Searches for a type calledname, first in this registry, then in parent registries if given.TypeDescriptor<?>TypeDescriptor. flatten()Returns a flattened collection type if this type is a collection.TypeDescriptor<?>TypeDescriptor. flattenParam()Returns deepest nested non-collection parameter type of this type.private TypeDescriptor<?>TypeDescriptor. flattenParam(TypeDescriptor<?> type)Returns deepest nested non-collection parameter type.TypeDescriptor<?>IDirectTypeRegistryAccess. get(java.lang.String name)Returns the type descriptor registered forname.TypeDescriptor<?>TypeRegistry.DirectAccess. get(java.lang.String name)(package private) TypeDescriptor<?>AliasTypeDescriptor. getAliasedType()Returns the aliased type.static TypeDescriptor<? extends Collection<?>>TypeRegistry. getCollectionType(TypeDescriptor<?>... parameter)Returns the VIL type for a collection with the given type parameters.TypeDescriptor<?>FieldDescriptor. getDeclaringType()Returns the declaring type.TypeDescriptor<?>OperationDescriptor. getDeclaringType()Returns the declaring type.TypeDescriptor<?>Map. getDimensionType(int index)Returns the type of the specified dimension ofT.private static TypeDescriptor<?>AbstractCollectionWrapper. getElementType(Collection<?> collection)Returns the element type ofcollection.TypeDescriptor<?>[]AbstractCollectionWrapper. getFlattenedParams(Collection<?> collection)Returns the type parameters for a flattened collection.protected TypeDescriptor<?>[]AbstractArrayWrapper. getGenericParameter()Returns the generic parameter for further use.protected TypeDescriptor<?>[]AbstractListWrapper. getGenericParameter()Returns the params for further use.TypeDescriptor<?>[]TypeDescriptor. getGenericParameter()Returns the type parameters as array.TypeDescriptor<?>AbstractArrayWrapper. getGenericParameterType(int index)TypeDescriptor<?>AbstractListWrapper. getGenericParameterType(int index)TypeDescriptor<?>ClassWrapper. getGenericParameterType(int index)TypeDescriptor<?>Collection. getGenericParameterType(int index)Returns the type of the specified generic parameter ofT.TypeDescriptor<?>IMetaType. getGenericParameterType(int index)Returns the specified generic parameter type.TypeDescriptor<?>SetSet. getGenericParameterType(int index)TypeDescriptor<?>TypeDescriptor. getGenericParameterType(int index)TypeDescriptor<?>UnmodifiableSequence. getGenericParameterType(int index)TypeDescriptor<?>UnmodifiableSet. getGenericParameterType(int index)TypeDescriptor<? extends IVilType>TypeRegistry. getInstantiator(java.lang.String name)Returns the registered instantiator type descriptor for the givennamealso inTypeRegistry.parentRegistry.static TypeDescriptor<? extends PseudoIterator<?>>TypeRegistry. getIteratorType(TypeDescriptor<?>... parameter)Returns the VIL type for a map with the given type parameters.protected TypeDescriptor<?>TypeRegistry. getMappedType(java.lang.Class<?> cls, java.lang.Class<?>[] generics, IntHolder pos)Returns mapped types provided by this registry and the descriptors created by this registry.static TypeDescriptor<? extends Map<?,?>>TypeRegistry. getMapType(TypeDescriptor<?>... parameter)Returns the VIL type for a map with the given type parameters.TypeDescriptor<?>FieldDescriptor. getMetaType()Returns the type to resolve operations on the field itself, e.g., whether the underlying decision variable is defined.TypeDescriptor<?>OperationDescriptor. getParameterType(int index)Returns the specified parameter type.TypeDescriptor<?>OperationDescriptor. getReturnType()Returns the return type of this operation.static TypeDescriptor<? extends ResolvableOperationType>TypeRegistry. getRuleType(TypeDescriptor<?>... parameter)Returns the VIL type for a rule type with the given type parameters.static TypeDescriptor<? extends Sequence<?>>TypeRegistry. getSequenceType(TypeDescriptor<?>... parameter)Returns the VIL type for a sequence with the given type parameters.static TypeDescriptor<? extends Set<?>>TypeRegistry. getSetType(TypeDescriptor<?>... parameter)Returns the VIL type for a set with the given type parameters.TypeDescriptor<?>AbstractArrayWrapper. getType()TypeDescriptor<?>AbstractListWrapper. getType()TypeDescriptor<?>FieldDescriptor. getType()TypeDescriptor<?>IActualTypeProvider. getType()Returns the more actual type of this object.TypeDescriptor<?>IMetaParameterDeclaration. getType()Returns the type of this variable.TypeDescriptor<?>IVilGenericType. getType()Returns the actual type including generics.TypeDescriptor<?>Map. getType()static TypeDescriptor<?>PseudoAny. getType(java.lang.Object ob)Returns the type ofob.static TypeDescriptor<?>PseudoBoolean. getType(java.lang.Boolean value)Returns the type ofvalue.static TypeDescriptor<?>PseudoInteger. getType(java.lang.Integer value)Returns the type ofvalue.static TypeDescriptor<?>PseudoReal. getType(java.lang.Double value)Returns the type ofvalue.static TypeDescriptor<?>PseudoString. getType(java.lang.String value)Returns the type ofvalue.static TypeDescriptor<?>PseudoType. getType(TypeDescriptor<?> value)Returns the type ofvalue.static TypeDescriptor<?>PseudoVersion. getType(Version value)Returns the type ofvalue.TypeDescriptor<?>ReflectionOperationParameter. getType()TypeDescriptor<?>SetSet. getType()TypeDescriptor<?>TypeRegistry. getType(java.lang.Class<?> cls)Converts a class into a type descriptor.TypeDescriptor<?>TypeRegistry. getType(java.lang.String name)Returns the registered type descriptor for the givennamealso inTypeRegistry.parentRegistry.TypeDescriptor<?>TypeRegistry. getType(java.lang.String name, boolean addIfMissing)Returns the registered type descriptor for the givennamealso inTypeRegistry.parentRegistry.TypeDescriptor<?>TypeRegistry. getType(IDatatype type)Returns the registered type descriptor for the giventype.TypeDescriptor<?>UnmodifiableSequence. getType()TypeDescriptor<?>UnmodifiableSet. getType()TypeDescriptor<?>TypeRegistry. getTypeOrFallback(IDatatype type)Returns the registered type descriptor for the giventypeor tries an explicitly registered fallback, e.g., for unknown types in models without advices.static TypeDescriptor<?>TypeRegistry. integerType()Returns the type descriptor for the built-in type 'Integer'.TypeDescriptor<?>TypeRegistry. obtainTypeDescriptor(java.lang.Object obj)Obtains the type descriptor of an object.static TypeDescriptor<?>TypeRegistry. realType()Returns the type descriptor for the built-in type 'Real'.<T extends IVilType>
TypeDescriptor<T>TypeRegistry. register(java.lang.Class<T> type)Internal default registration function with error handling.<T extends IVilType>
TypeDescriptor<T>TypeRegistry. registerType(java.lang.Class<T> type)Registers a type.static TypeDescriptor<?>TypeRegistry. resolvableOperationType()Returns the type descriptor for the built-in operation references (a kind of function pointer to evaluate functions generically).private TypeDescriptor<?>TypeRegistry. resolve(java.lang.String name, boolean addIfMissing)Resolves the given typenamevia the resolvers.TypeDescriptor<?>[]TypeRegistry. resolveGenerics(IDatatype type)Resolves IVML type generics.TypeDescriptor<? extends IVilType>ITypeResolver. resolveInstantiator(java.lang.String name)Resolves an instantiator by its name.TypeDescriptor<?>ITypeResolver. resolveType(java.lang.String name, boolean addIfMissing)Resolves a type by its name.TypeDescriptor<?>ITypeResolver. resolveType(IDatatype type)Resolves a type by its IVML type.static TypeDescriptor<?>ReflectionResolver. resolveType(java.lang.Class<?> cls, java.lang.Class<?>[] generics)Resolves the given type to a type descriptor.static TypeDescriptor<?>ReflectionResolver. resolveType(java.lang.Class<?> cls, java.lang.Class<?>[] generics, IntHolder pos)Resolves the given type to a type descriptor.static TypeDescriptor<?>TypeRegistry. stringType()Returns the type descriptor for the built-in type String.static TypeDescriptor<?>TypeRegistry. typeType()Returns the type descriptor for the built-in type 'Type'.(package private) static TypeDescriptor<?>AliasTypeDescriptor. unalias(TypeDescriptor<?> type)Unalisasestype.static TypeDescriptor<?>TypeRegistry. versionType()Returns the type descriptor for the built-in type 'Version'.static TypeDescriptor<?>TypeRegistry. voidType()Returns the type descriptor for the built-in type 'void'.Methods in net.ssehub.easy.instantiation.core.model.vilTypes that return types with arguments of type TypeDescriptor Modifier and Type Method Description java.lang.Iterable<TypeDescriptor<? extends IVilType>>TypeRegistry. allInstantiators()Provides access to all instantiators.java.lang.Iterable<TypeDescriptor<?>>TypeRegistry. allTypes()Provides access to all type descriptors.java.lang.Iterable<TypeDescriptor<?>>TypeRegistry. typesByNamePrefix(java.lang.String prefix)Provides access to all type descriptors with names starting with the givenprefix.Methods in net.ssehub.easy.instantiation.core.model.vilTypes with parameters of type TypeDescriptor Modifier and Type Method Description voidIDirectTypeRegistryAccess. add(java.lang.String name, TypeDescriptor<?> type)Adds a type.voidTypeRegistry.DirectAccess. add(java.lang.String name, TypeDescriptor<?> type)voidIDirectTypeRegistryAccess. addInstantiator(java.lang.String name, TypeDescriptor<? extends IVilType> type)Adds an instantiator.voidTypeRegistry.DirectAccess. addInstantiator(java.lang.String name, TypeDescriptor<? extends IVilType> type)<T> booleanTypeRegistry. addTypeAlias(java.lang.String name, TypeDescriptor<T> type)Adds a type alias to this specific type registry.static voidTypeRegistry. addTypeMapping(java.lang.String name, TypeDescriptor<? extends IVilType> type)Allows to register internal mapped types, e.g.,TypeDescriptor.static Set<?>PseudoType. allInstances(TypeDescriptor<?> type)Provides access to all instances of this type in the configuration.static java.lang.ObjectMap. checkConvertEmpty(TypeDescriptor<?> type, java.lang.Object value)Convertsvalueto an empty map with parameter types fromtype, iftypeis a map andvalueis an empty map instance.private java.util.Map<java.lang.String,java.lang.Object>ReflectionOperationDescriptor. checkForNamedParameter(TypeDescriptor<?> type, int index, java.lang.annotation.Annotation[][] annotations, java.util.Map<java.lang.String,java.lang.Object> defltValues, int paramCount)Checks the current parameter for a named parameter.protected static TypeDescriptor<?>AbstractCollectionWrapper. constructType(TypeDescriptor<?>[] param, boolean set)Constructs a collection type.static <T> Sequence<T>ArraySequence. empty(TypeDescriptor<?> param)Returns an empty sequence for one type parameter.static <T> Set<T>ArraySet. empty(TypeDescriptor<?> param)Returns an empty set for one type parameter.static <T> Sequence<T>ListSequence. empty(TypeDescriptor<?> param)Returns an empty sequence for one type parameter.static <T> Set<T>ListSet. empty(TypeDescriptor<?> param)Returns an empty set for one type parameter.static booleanPseudoString. equals(java.lang.String string, TypeDescriptor<?> type)Represents the equality operation for types vs.static booleanPseudoType. equals(TypeDescriptor<?> type, java.lang.String string)Represents the equality operation for types vs.static booleanPseudoType. equals(TypeDescriptor<?> type1, TypeDescriptor<?> type2)Represents the equality operation for types.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).private TypeDescriptor<?>TypeDescriptor. flattenParam(TypeDescriptor<?> type)Returns deepest nested non-collection parameter type.static TypeDescriptor<? extends Collection<?>>TypeRegistry. getCollectionType(TypeDescriptor<?>... parameter)Returns the VIL type for a collection with the given type parameters.static TypeDescriptor<? extends PseudoIterator<?>>TypeRegistry. getIteratorType(TypeDescriptor<?>... parameter)Returns the VIL type for a map with the given type parameters.static TypeDescriptor<? extends Map<?,?>>TypeRegistry. getMapType(TypeDescriptor<?>... parameter)Returns the VIL type for a map with the given type parameters.static java.lang.StringPseudoType. getName(TypeDescriptor<?> type)Returns the name oftype.static java.lang.StringPseudoType. getQualifiedName(TypeDescriptor<?> type)Returns the qualified name oftype.static TypeDescriptor<? extends ResolvableOperationType>TypeRegistry. getRuleType(TypeDescriptor<?>... parameter)Returns the VIL type for a rule type with the given type parameters.static TypeDescriptor<? extends Sequence<?>>TypeRegistry. getSequenceType(TypeDescriptor<?>... parameter)Returns the VIL type for a sequence with the given type parameters.static TypeDescriptor<? extends Set<?>>TypeRegistry. getSetType(TypeDescriptor<?>... parameter)Returns the VIL type for a set with the given type parameters.static TypeDescriptor<?>PseudoType. getType(TypeDescriptor<?> value)Returns the type ofvalue.private static booleanMap. isAny(TypeDescriptor<?> type)Returns whethertypeis Any.booleanAliasTypeDescriptor. isAssignableFrom(TypeDescriptor<?> desc)booleanCompoundTypeDescriptor. isAssignableFrom(TypeDescriptor<?> desc)booleanReflectionTypeDescriptor. isAssignableFrom(TypeDescriptor<?> desc)abstract booleanTypeDescriptor. isAssignableFrom(TypeDescriptor<?> desc)Returns whether this descriptor is the same or a super class ofdesc.static booleanPseudoType. isKindOf(java.lang.Object ob, TypeDescriptor<?> type)Returns whethertypeis of the same or a super type asob.booleanTypeDescriptor. isSame(TypeDescriptor<?> typeDescriptor)Returns whether a givenobjectis the same.private static booleanAbstractCollectionWrapper. isSelectedByType(TypeDescriptor<?> type, java.lang.Object element, boolean byKind, boolean negate)Returns whether type selection matches.static booleanPseudoType. isTypeOf(java.lang.Object ob, TypeDescriptor<?> type)Returns whethertypeis of the same type asob.static booleanPseudoString. notEquals(java.lang.String string, TypeDescriptor<?> type)Represents the un-equality operation for types vs.static booleanPseudoType. notEquals(TypeDescriptor<?> type, java.lang.String string)Represents the un-equality operation for types vs.static booleanPseudoType. notEquals(TypeDescriptor<?> type1, TypeDescriptor<?> type2)Represents the un-equality operation for types.protected voidTypeRegistry. register(java.lang.String key, TypeDescriptor<?> desc)Registers an individual type and emits an information message on the logger.private <T extends IVilType>
voidTypeRegistry. register(TypeDescriptor<T> desc, java.lang.Class<T> metaProvider)Registers an individual type via its name and emits an information message on the logger.private <T extends IVilType>
voidTypeRegistry. registerEquivalentClasses(java.lang.Class<T> type, TypeDescriptor<T> desc)Registers equivalent classes fromClassMeta.equiv().voidTypeRegistry. registerFallbackType(IDatatype type, TypeDescriptor<?> descriptor)Registers a fallback type.Sequence<T>ArraySequence. selectByKind(TypeDescriptor<?> type)Set<T>ArraySet. selectByKind(TypeDescriptor<?> type)Collection<T>Collection. selectByKind(TypeDescriptor<?> type)Does type selection of elements (including subtypes).Sequence<T>ListSequence. selectByKind(TypeDescriptor<?> type)Set<T>ListSet. selectByKind(TypeDescriptor<?> type)Sequence<T>Sequence. selectByKind(TypeDescriptor<?> type)Set<T>Set. selectByKind(TypeDescriptor<?> type)Set<T>SetSet. selectByKind(TypeDescriptor<?> type)Sequence<T>UnmodifiableSequence. selectByKind(TypeDescriptor<?> type)Set<T>UnmodifiableSet. selectByKind(TypeDescriptor<?> type)static <T> java.util.List<T>AbstractCollectionWrapper. selectByType(Collection<T> collection, TypeDescriptor<?> type, boolean byKind, boolean negate)Returns the selection of elements fromcollectioncomplying to the giventype.protected static <T> voidAbstractCollectionWrapper. selectByType(Collection<T> collection, TypeDescriptor<?> type, java.util.Collection<T> result, boolean byKind, boolean negate)Calculates the selection of elements fromcollectioncomplying to the giventype.Sequence<T>ArraySequence. selectByType(TypeDescriptor<?> type)Set<T>ArraySet. selectByType(TypeDescriptor<?> type)Collection<T>Collection. selectByType(TypeDescriptor<?> type)Does type selection of elements (only the same type).Sequence<T>ListSequence. selectByType(TypeDescriptor<?> type)Set<T>ListSet. selectByType(TypeDescriptor<?> type)Sequence<T>Sequence. selectByType(TypeDescriptor<?> type)Set<T>Set. selectByType(TypeDescriptor<?> type)Set<T>SetSet. selectByType(TypeDescriptor<?> type)Sequence<T>UnmodifiableSequence. selectByType(TypeDescriptor<?> type)Set<T>UnmodifiableSet. selectByType(TypeDescriptor<?> type)protected voidOperationDescriptor. setReturnType(TypeDescriptor<?> returnType)Sets the return type.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)private static voidTypeRegistry. testInstantiatorType(TypeDescriptor<? extends IVilType> type, Instantiator inst)Some basic semantic tests for instantiators.static java.lang.StringPseudoType. toString(TypeDescriptor<?> type)Turns a descriptor into its name (legacy).Sequence<T>ArraySequence. typeReject(TypeDescriptor<?> type)Set<T>ArraySet. typeReject(TypeDescriptor<?> type)Collection<T>Collection. typeReject(TypeDescriptor<?> type)Does type selection of elements not having the same type (including subtypes).Sequence<T>ListSequence. typeReject(TypeDescriptor<?> type)Set<T>ListSet. typeReject(TypeDescriptor<?> type)Sequence<T>Sequence. typeReject(TypeDescriptor<?> type)Set<T>Set. typeReject(TypeDescriptor<?> type)Set<T>SetSet. typeReject(TypeDescriptor<?> type)Sequence<T>UnmodifiableSequence. typeReject(TypeDescriptor<?> type)Set<T>UnmodifiableSet. typeReject(TypeDescriptor<?> type)(package private) static TypeDescriptor<?>AliasTypeDescriptor. unalias(TypeDescriptor<?> type)Unalisasestype.Method parameters in net.ssehub.easy.instantiation.core.model.vilTypes with type arguments of type TypeDescriptor Modifier and Type Method Description protected voidOperationDescriptor. setParameters(java.util.List<TypeDescriptor<?>> parameters, boolean acceptsNamedParameters, boolean acceptsImplicitParameters)Sets the parameters.Constructors in net.ssehub.easy.instantiation.core.model.vilTypes with parameters of type TypeDescriptor Constructor Description AbstractArrayWrapper(T[] array, boolean set, TypeDescriptor<?>... params)Creates a new array collection wrapper.AbstractListWrapper(java.util.List<T> list, boolean set, TypeDescriptor<?>... params)Creates a new array collection wrapper.AliasTypeDescriptor(TypeRegistry registry, java.lang.String name, TypeDescriptor<T> type)Creates an alias type descriptor.ArraySequence(T[] array, TypeDescriptor<?>... params)Creates a new array collection wrapper.ArraySet(T[] array, TypeDescriptor<?>... params)Creates a new array collection wrapper.ConstructorOperationDescriptor(TypeDescriptor<?> declaringType)Creates the operation descriptor.FieldDescriptor(TypeDescriptor<?> declaringType, java.lang.String name, TypeDescriptor<?> fieldType)Creates a field descriptor.FixedListSequence(java.util.List<T> list, TypeDescriptor<?>... params)Creates a new array collection wrapper.FixedListSet(java.util.List<T> list, TypeDescriptor<?>... params)Creates a new array collection wrapper.ListSequence(java.util.List<T> list, TypeDescriptor<?>... params)Creates a new array collection wrapper using the default type registry.ListSet(java.util.List<T> list, TypeDescriptor<?>... params)Creates a new array collection wrapper.Map(java.util.Map<java.lang.Object,java.lang.Object> map, TypeDescriptor<?>[] generics)Creates a map wrapper.Map(TypeDescriptor<?>[] types)Creates a new map.Map(TypeDescriptor<?>[] types, int size)Creates a new map.OperationDescriptor(TypeDescriptor<?> declaringType, java.lang.String name, boolean isConstructor)Creates a new operation descriptor.ReflectionConstructorDescriptor(TypeDescriptor<?> declaringType, java.lang.reflect.Constructor<?> constructor)Creates a reflection constructor descriptor.ReflectionFieldDescriptor(TypeDescriptor<?> declaringType, java.lang.reflect.Field field, java.lang.Class<?>[] typeGenerics)Creates a new reflection field descriptor taking the information fromfield.ReflectionFieldDescriptor(TypeDescriptor<?> declaringType, java.lang.reflect.Field field, java.lang.String name, boolean readOnly, java.lang.Class<?>[] typeGenerics)Creates a new reflection field descriptor.ReflectionFieldDescriptor(TypeDescriptor<?> declaringType, java.lang.reflect.Field field, java.lang.String name, java.lang.Class<?>[] typeGenerics)Creates a new reflection field descriptor taking the information fromfield.ReflectionOperationDescriptor(TypeDescriptor<?> declaringType, java.lang.reflect.Method method, boolean isConstructor)Creates a new operation descriptor.ReflectionOperationDescriptor(TypeDescriptor<?> declaringType, java.lang.reflect.Method method, java.lang.String name, boolean isConstructor)Creates a new operation descriptor as an alias.ReflectionOperationParameter(java.lang.String name, TypeDescriptor<?> type, Expression dflt)Creates a reflection operation parameter.ReflectionTypeDescriptor(java.lang.Class<T> cls, TypeDescriptor<?>... parameter)Creates a new type descriptor.SetSet(java.util.Set<T> set, TypeDescriptor<?>... params)Creates a new set wrapper.TypeDescriptor(TypeDescriptor<?>... parameter)Creates a new type descriptor.TypeOperationDescriptor(TypeDescriptor<?> declaringType, java.lang.String name)Creates the operation descriptor.UnmodifiableMap(java.util.Map<java.lang.Object,java.lang.Object> map, TypeDescriptor<?>[] types)Creates a map wrapper. -
Uses of TypeDescriptor in net.ssehub.easy.instantiation.core.model.vilTypes.configuration
Subclasses of TypeDescriptor in net.ssehub.easy.instantiation.core.model.vilTypes.configuration Modifier and Type Class Description (package private) classAbstractIvmlTypeDescriptorImplements a dynamic type descriptor for IVM decision variables.classFakeTypeDescriptorRepresents a fake type descriptor for IVML.classIvmlProjectTypeDescriptorImplements a dynamic type descriptor for a project containing IVML decision variables.classIvmlTypeDescriptorImplements a dynamic type descriptor for IVML decision variables.Fields in net.ssehub.easy.instantiation.core.model.vilTypes.configuration declared as TypeDescriptor Modifier and Type Field Description private TypeDescriptor<?>FakeTypeDescriptor. baseTypeprivate TypeDescriptor<?>IvmlTypeDescriptor. baseTypeprivate static TypeDescriptor<?>IvmlSequenceConversionOperationDescriptor. RETURNprivate static TypeDescriptor<?>IvmlSetConversionOperationDescriptor. RETURNFields in net.ssehub.easy.instantiation.core.model.vilTypes.configuration with type parameters of type TypeDescriptor Modifier and Type Field Description private java.util.Map<IDatatype,TypeDescriptor<?>>IvmlTypeResolver. ivmlMapMethods in net.ssehub.easy.instantiation.core.model.vilTypes.configuration that return TypeDescriptor Modifier and Type Method Description static TypeDescriptor<?>IvmlTypes. attributeType()Returns the type descriptor for the built-in type 'Attribute'.static TypeDescriptor<?>IvmlTypes. configurationType()Returns the type descriptor for the built-in type 'Configuration'.static TypeDescriptor<?>IvmlTypes. decisionVariableType()Returns the type descriptor for the built-in type 'DecisionVariable'.static TypeDescriptor<?>IvmlTypes. declarationType()Returns the type descriptor for the built-in type 'IvmlDeclaration'.protected static TypeDescriptor<?>[]Utils. determineGenerics(IDatatype type, TypeRegistry registry, boolean specific)Determines the VIL types for the given generic types.protected static TypeDescriptor<?>Utils. determineReturnType(IDatatype type, TypeRegistry registry, boolean specific)Determines the VIL/VTL return type for the given IVMLtype.protected TypeDescriptor<?>AbstractIvmlTypeOperationDescriptor. getActualType(java.lang.Object ob)Returns the actual type ofob.TypeDescriptor<?>AbstractIvmlFieldDescriptor. getMetaType()TypeDescriptor<?>AbstractIvmlVariable. getType()Returns the type of the (dereferenced) decision variable (VIL view).TypeDescriptor<?>Configuration. getType()TypeDescriptor<?>EnumValue. getType()TypeDescriptor<?>IvmlDeclaration. getType()abstract TypeDescriptor<?>IvmlElement. getType()Returns the VIL type of the element.(package private) static TypeDescriptor<?>IvmlElement. getTypeDescriptor(IDatatype type)Returns the type descriptor for a given IVML datatype.static TypeDescriptor<?>IvmlTypes. ivmlElement()Returns the type descriptor for the built-in (fallback) type 'IvmlElement'.(package private) TypeDescriptor<?>IvmlTypeResolver. obtainType(IDatatype type)Obtains the VIL/VTL type for the giventype.static TypeDescriptor<?>IvmlTypes. projectType()Returns the type descriptor for the built-in type 'Project'.TypeDescriptor<? extends IVilType>IvmlBaseTypeResolver. resolveInstantiator(java.lang.String name)TypeDescriptor<? extends IVilType>IvmlTypeResolver. resolveInstantiator(java.lang.String name)TypeDescriptor<?>IvmlBaseTypeResolver. resolveType(java.lang.String name, boolean addIfMissing)TypeDescriptor<?>IvmlBaseTypeResolver. resolveType(IDatatype type)TypeDescriptor<?>IvmlTypeResolver. resolveType(java.lang.String name, boolean addIfMissing)TypeDescriptor<?>IvmlTypeResolver. resolveType(IDatatype type)Methods in net.ssehub.easy.instantiation.core.model.vilTypes.configuration that return types with arguments of type TypeDescriptor Modifier and Type Method Description protected static java.util.List<TypeDescriptor<?>>IvmlOperationDescriptor. createParameterList(TypeDescriptor<?> param)Creates a parameter list for one parameter (type).Methods in net.ssehub.easy.instantiation.core.model.vilTypes.configuration with parameters of type TypeDescriptor Modifier and Type Method Description protected voidIvmlBaseTypeResolver. addType(java.lang.String name, TypeDescriptor<?> type)Adds a type via a given name.(package private) voidIvmlTypeResolver. addType(java.lang.String name, TypeDescriptor<?> type)Adds a type via a given name.DecisionVariableAbstractIvmlVariable. addValue(TypeDescriptor<?> type)Adds a value if the actual variable represents an IVML collection.Set<?>Configuration. allInstances(TypeDescriptor<?> type)Returns all instances of the giventype.protected static java.util.List<TypeDescriptor<?>>IvmlOperationDescriptor. createParameterList(TypeDescriptor<?> param)Creates a parameter list for one parameter (type).voidAbstractIvmlVariable. createValue(TypeDescriptor<?> type, boolean override)Creates a value matching to this variable and tries to assign it.booleanFakeTypeDescriptor. isAssignableFrom(TypeDescriptor<?> desc)booleanIvmlProjectTypeDescriptor. isAssignableFrom(TypeDescriptor<?> desc)booleanIvmlTypeDescriptor. isAssignableFrom(TypeDescriptor<?> desc)booleanDecisionVariable. isKindOf(TypeDescriptor<?> type)Returns whethertypeis of the same or a super type as this object.booleanDecisionVariable. isTypeOf(TypeDescriptor<?> type)Returns whethertypeis of the same type as this object.Constructors in net.ssehub.easy.instantiation.core.model.vilTypes.configuration with parameters of type TypeDescriptor Constructor Description AbstractIvmlFieldDescriptor(TypeDescriptor<?> declaringType, AbstractVariable var, TypeRegistry registry)Creates the field descriptor.AbstractIvmlTypeOperationDescriptor(TypeDescriptor<?> declaringType, java.lang.String name, boolean isConstructor)Creates a new operation descriptor.FakeOperationDescriptor(TypeDescriptor<?> declaringType, java.lang.String name, int parameterCount, boolean acceptsNamedParameters)Create a fake operation descriptor.FakeTypeDescriptor(TypeRegistry registry, java.lang.String name, TypeDescriptor<?> baseType)Creates a fake type descriptor.IvmlAccessorFieldDescriptor(TypeDescriptor<?> declaringType, DecisionVariableDeclaration var, TypeRegistry registry)Creates the field descriptor.IvmlAnnotationFieldDescriptor(TypeDescriptor<?> declaringType, Attribute annotation, TypeRegistry registry)Creates the operation descriptor for an annotation access.IvmlComparisonOperationDescriptor(TypeDescriptor<?> declaringType, java.lang.String name, boolean equality, TypeDescriptor<?> paramType)Creates a new comparison operation descriptor.IvmlConfigurationConversionOperationDescriptor(TypeDescriptor<?> declaringType)Creates the operation descriptor.IvmlConfigurationFieldDescriptor(TypeDescriptor<?> declaringType, AbstractVariable var, TypeRegistry registry)Creates the field descriptor.IvmlConfigurationOperationDescriptor(TypeDescriptor<?> declaringType, DecisionVariableDeclaration var)Creates the operation descriptor.IvmlConstructorOperationDescriptor(TypeDescriptor<?> declaringType, IDatatype ivmlType)Creates a constructor descriptor without parameters.IvmlConversionOperationDescriptor(TypeDescriptor<?> declaringType)Creates the operation descriptor.IvmlConversionOperationDescriptor(TypeDescriptor<?> declaringType, TypeDescriptor<?> returnType)Creates the operation descriptor.IvmlOperationDescriptor(TypeDescriptor<?> declaringType, java.lang.String name, boolean isConstructor)Creates a new operation descriptor.IvmlOrderedEnumComparisonOperationDescriptor(TypeDescriptor<?> declaringType, IvmlOrderedEnumComparisonOperationDescriptor.OperationKind operation)Creates a new comparison operation descriptor.IvmlOrderedEnumMinMaxOperationDescriptor(TypeDescriptor<?> declaringType, IvmlOrderedEnumMinMaxOperationDescriptor.OperationKind operation)Creates a new min/max operation descriptor.IvmlSequenceConversionOperationDescriptor(TypeDescriptor<?> declaringType)Creates a conversion descriptor.IvmlSequenceConversionOperationDescriptor(TypeDescriptor<?> declaringType, TypeDescriptor<?> generic)Creates a conversion descriptor.IvmlSetConversionOperationDescriptor(TypeDescriptor<?> declaringType)Creates a conversion descriptor.IvmlSetConversionOperationDescriptor(TypeDescriptor<?> declaringType, TypeDescriptor<?> generic)Creates a conversion descriptor.IvmlToStringConversionOperationDescriptor(TypeDescriptor<?> declaringType)Creates a conversion to string operation descriptor. -
Uses of TypeDescriptor in net.ssehub.easy.instantiation.serializer.xml.converter
Fields in net.ssehub.easy.instantiation.serializer.xml.converter with type parameters of type TypeDescriptor Modifier and Type Field Description private static java.util.Map<java.lang.String,TypeDescriptor<?>>AbstractDescriptorConverter. pseudoTypesprivate static java.util.Map<java.lang.String,TypeDescriptor<?>>ReflectionTypeDescriptorConverter. pseudoTypesMethods in net.ssehub.easy.instantiation.serializer.xml.converter that return TypeDescriptor Modifier and Type Method Description private TypeDescriptor<?>[]ReflectionTypeDescriptorConverter. getAllAttributes(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, int numberOfAttributes)Gets All attributes for maps, sets and collections.private TypeDescriptor<?>[]VTLTypeConverter. getAllAttributes(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, int numberOfAttributes)Gets All attributes for maps, sets and collections.private TypeDescriptor<?>ReflectionTypeDescriptorConverter. getMapType(java.lang.String name, java.lang.String regex)Get the map type from the typeRegistry.private TypeDescriptor<?>[]AbstractDescriptorConverter. getParameterTypes(java.lang.String attribute, TypeDescriptor<?>[] parameters, java.lang.String regex)Collects the types of the parameters.private TypeDescriptor<?>ReflectionTypeDescriptorConverter. getSequenceType(java.lang.String name, java.lang.String regex)Get the sequence type from the typeRegistry.private TypeDescriptor<?>ReflectionTypeDescriptorConverter. getSetType(java.lang.String name, java.lang.String regex)Get the set type from the typeRegistry.private TypeDescriptor<?>[]ReflectionTypeDescriptorConverter. getType(java.lang.String name, java.lang.String regex)Get type from the typeRegistry.private TypeDescriptor<?>AbstractDescriptorConverter. getTypeDescriptor(java.lang.String attribute)Gets theTypeDescriptorfor a given attribute.Methods in net.ssehub.easy.instantiation.serializer.xml.converter with parameters of type TypeDescriptor 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.private TypeDescriptor<?>[]AbstractDescriptorConverter. getParameterTypes(java.lang.String attribute, TypeDescriptor<?>[] parameters, java.lang.String regex)Collects the types of the parameters.
-