/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setType(JvmType newType) { JvmType oldType = type; type = newType; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TypesPackage.JVM_ANY_TYPE_REFERENCE__TYPE, oldType, type)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setType(JvmType newType) { JvmType oldType = type; type = newType; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TypesPackage.JVM_ANY_TYPE_REFERENCE__TYPE, oldType, type)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public JvmType getType() { if (type != null && type.eIsProxy()) { InternalEObject oldType = (InternalEObject)type; type = (JvmType)eResolveProxy(oldType); if (type != oldType) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, TypesPackage.JVM_ANY_TYPE_REFERENCE__TYPE, oldType, type)); } } return type; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public JvmType getType() { if (type != null && type.eIsProxy()) { InternalEObject oldType = (InternalEObject)type; type = (JvmType)eResolveProxy(oldType); if (type != oldType) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, TypesPackage.JVM_ANY_TYPE_REFERENCE__TYPE, oldType, type)); } } return type; }