use of org.yakindu.base.types.Type in project statecharts by Yakindu.
the class StextTestFactory method _createVoidType.
public static Type _createVoidType(String name) {
Type t = TypesFactory.eINSTANCE.createPrimitiveType();
t.setName(name);
return t;
}
use of org.yakindu.base.types.Type in project statecharts by Yakindu.
the class TypeSpecifierImpl method setType.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setType(Type newType) {
Type oldType = type;
type = newType;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, TypesPackage.TYPE_SPECIFIER__TYPE, oldType, type));
}
use of org.yakindu.base.types.Type in project statecharts by Yakindu.
the class AbstractTypeSystem method getOperationExtensions.
@Override
public List<Operation> getOperationExtensions(Type type) {
List<Operation> result = new ArrayList<>();
result.addAll(extensionOperationRegistry.get(type));
List<Type> superTypes = getSuperTypes(type);
for (Type superType : superTypes) {
result.addAll(extensionOperationRegistry.get(superType));
}
return result;
}
use of org.yakindu.base.types.Type in project statecharts by Yakindu.
the class TypeParameterImpl method setBound.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setBound(Type newBound) {
Type oldBound = bound;
bound = newBound;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, TypesPackage.TYPE_PARAMETER__BOUND, oldBound, bound));
}
use of org.yakindu.base.types.Type in project statecharts by Yakindu.
the class StextTestFactory method _createStringType.
public static Type _createStringType(String name) {
Type t = TypesFactory.eINSTANCE.createPrimitiveType();
t.setName(name);
return t;
}
Aggregations