Class AbstractIvmlTypeOperationDescriptor
- java.lang.Object
-
- net.ssehub.easy.instantiation.core.model.vilTypes.OperationDescriptor
-
- net.ssehub.easy.instantiation.core.model.vilTypes.configuration.IvmlOperationDescriptor
-
- net.ssehub.easy.instantiation.core.model.vilTypes.configuration.AbstractIvmlTypeOperationDescriptor
-
- All Implemented Interfaces:
IMetaOperation
public abstract class AbstractIvmlTypeOperationDescriptor extends IvmlOperationDescriptor
An abstract basic operation descriptor for type operations.- Author:
- Holger Eichelberger
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.ssehub.easy.instantiation.core.model.vilTypes.OperationDescriptor
OperationDescriptor.AliasType
-
Nested classes/interfaces inherited from interface net.ssehub.easy.instantiation.core.model.vilTypes.IMetaOperation
IMetaOperation.CompatibilityResult
-
-
Field Summary
-
Fields inherited from class net.ssehub.easy.instantiation.core.model.vilTypes.OperationDescriptor
CONSTRUCTOR_NAME, EMPTY_PARAMETER
-
-
Constructor Summary
Constructors Constructor Description AbstractIvmlTypeOperationDescriptor(TypeDescriptor<?> declaringType, java.lang.String name, boolean isConstructor)Creates a new operation descriptor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TypeDescriptor<?>getActualType(java.lang.Object ob)Returns the actual type ofob.-
Methods inherited from class net.ssehub.easy.instantiation.core.model.vilTypes.configuration.IvmlOperationDescriptor
convertArgument, createParameterList, getDeclaringTypeNameFallback, getJavaSignature, initializeParameters, initializeReturnType, isFirstParameterOperand, isPlaceholder, isStatic, storeArtifactsBeforeExecution, useGenericParameterAsReturn, useParameterAsReturn
-
Methods inherited from class net.ssehub.easy.instantiation.core.model.vilTypes.OperationDescriptor
acceptsImplicitParameters, acceptsNamedParameters, allowsAggregation, composeExceptionMessage, convertVariables, flatten, getAliasType, getDeclaringType, getDeclaringTypeName, getName, getOperationType, getParameter, getParameter, getParameterCount, getParameterType, getRequiredParameterCount, getReturnType, getSignature, getStoredName, isAlias, isConstructor, isConstructor, isConversion, isGenericCollectionOperation, isIteratingCollectionOperation, isOclCompliant, isOperation, isSameSignature, isTypeSelect, requiresDynamicExpressionProcessing, setCharacteristics, setParameters, setReturnType, specializeFor, throwIncompatibleParameter, toString, trace, useAny, useOperandTypeAsParameter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.ssehub.easy.instantiation.core.model.vilTypes.IMetaOperation
invoke, isCompatible
-
-
-
-
Constructor Detail
-
AbstractIvmlTypeOperationDescriptor
AbstractIvmlTypeOperationDescriptor(TypeDescriptor<?> declaringType, java.lang.String name, boolean isConstructor)
Creates a new operation descriptor. Overriding constructors shall call#setCharacteristics(OperationType, AliasType, boolean)in order to redefined the default values.- Parameters:
declaringType- the declaring typename- the alias name (may be null if the original name ofmethodshall be used)isConstructor- whether the operation is a constructor
-
-
Method Detail
-
getActualType
protected TypeDescriptor<?> getActualType(java.lang.Object ob)
Returns the actual type ofob.- Parameters:
ob- the object to return the type for- Returns:
- the type
-
-