/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setInterface(boolean newInterface) { boolean oldInterface = interface_; interface_ = newInterface; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TypesPackage.JVM_GENERIC_TYPE__INTERFACE, oldInterface, interface_)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case TypesPackage.JVM_GENERIC_TYPE__TYPE_PARAMETERS: getTypeParameters().clear(); return; case TypesPackage.JVM_GENERIC_TYPE__INTERFACE: setInterface(INTERFACE_EDEFAULT); return; case TypesPackage.JVM_GENERIC_TYPE__STRICT_FLOATING_POINT: setStrictFloatingPoint(STRICT_FLOATING_POINT_EDEFAULT); return; case TypesPackage.JVM_GENERIC_TYPE__ANONYMOUS: setAnonymous(ANONYMOUS_EDEFAULT); return; } super.eUnset(featureID); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case TypesPackage.JVM_GENERIC_TYPE__TYPE_PARAMETERS: return getTypeParameters(); case TypesPackage.JVM_GENERIC_TYPE__INTERFACE: return isInterface(); case TypesPackage.JVM_GENERIC_TYPE__STRICT_FLOATING_POINT: return isStrictFloatingPoint(); case TypesPackage.JVM_GENERIC_TYPE__ANONYMOUS: return isAnonymous(); } return super.eGet(featureID, resolve, coreType); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case TypesPackage.JVM_GENERIC_TYPE__TYPE_PARAMETERS: return getTypeParameters(); case TypesPackage.JVM_GENERIC_TYPE__INTERFACE: return isInterface(); case TypesPackage.JVM_GENERIC_TYPE__STRICT_FLOATING_POINT: return isStrictFloatingPoint(); } return super.eGet(featureID, resolve, coreType); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case TypesPackage.JVM_GENERIC_TYPE__TYPE_PARAMETERS: getTypeParameters().clear(); return; case TypesPackage.JVM_GENERIC_TYPE__INTERFACE: setInterface(INTERFACE_EDEFAULT); return; case TypesPackage.JVM_GENERIC_TYPE__STRICT_FLOATING_POINT: setStrictFloatingPoint(STRICT_FLOATING_POINT_EDEFAULT); return; } super.eUnset(featureID); }
@Override public EList<JvmTypeParameter> getTypeParameters() { checkPendingInitialization(); return super.getTypeParameters(); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public String toString() { if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (interface: "); result.append(interface_); result.append(", strictFloatingPoint: "); result.append(strictFloatingPoint); result.append(')'); return result.toString(); }
@Override public boolean isStrictFloatingPoint() { checkPendingInitialization(); return super.isStrictFloatingPoint(); }
@Override public boolean isAnonymous() { checkPendingInitialization(); return super.isAnonymous(); } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case TypesPackage.JVM_GENERIC_TYPE__TYPE_PARAMETERS: getTypeParameters().clear(); getTypeParameters().addAll((Collection<? extends JvmTypeParameter>)newValue); return; case TypesPackage.JVM_GENERIC_TYPE__INTERFACE: setInterface((Boolean)newValue); return; case TypesPackage.JVM_GENERIC_TYPE__STRICT_FLOATING_POINT: setStrictFloatingPoint((Boolean)newValue); return; } super.eSet(featureID, newValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case TypesPackage.JVM_GENERIC_TYPE__TYPE_PARAMETERS: return ((InternalEList<?>)getTypeParameters()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public String toString() { if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (interface: "); result.append(interface_); result.append(", strictFloatingPoint: "); result.append(strictFloatingPoint); result.append(", anonymous: "); result.append(anonymous); result.append(')'); return result.toString(); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case TypesPackage.JVM_GENERIC_TYPE__TYPE_PARAMETERS: getTypeParameters().clear(); getTypeParameters().addAll((Collection<? extends JvmTypeParameter>)newValue); return; case TypesPackage.JVM_GENERIC_TYPE__INTERFACE: setInterface((Boolean)newValue); return; case TypesPackage.JVM_GENERIC_TYPE__STRICT_FLOATING_POINT: setStrictFloatingPoint((Boolean)newValue); return; case TypesPackage.JVM_GENERIC_TYPE__ANONYMOUS: setAnonymous((Boolean)newValue); return; } super.eSet(featureID, newValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setStrictFloatingPoint(boolean newStrictFloatingPoint) { boolean oldStrictFloatingPoint = strictFloatingPoint; strictFloatingPoint = newStrictFloatingPoint; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TypesPackage.JVM_GENERIC_TYPE__STRICT_FLOATING_POINT, oldStrictFloatingPoint, strictFloatingPoint)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case TypesPackage.JVM_GENERIC_TYPE__TYPE_PARAMETERS: return ((InternalEList<?>)getTypeParameters()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setStrictFloatingPoint(boolean newStrictFloatingPoint) { boolean oldStrictFloatingPoint = strictFloatingPoint; strictFloatingPoint = newStrictFloatingPoint; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TypesPackage.JVM_GENERIC_TYPE__STRICT_FLOATING_POINT, oldStrictFloatingPoint, strictFloatingPoint)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @SuppressWarnings("unchecked") @Override public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case TypesPackage.JVM_GENERIC_TYPE__TYPE_PARAMETERS: return ((InternalEList<InternalEObject>)(InternalEList<?>)getTypeParameters()).basicAdd(otherEnd, msgs); } return super.eInverseAdd(otherEnd, featureID, msgs); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setAnonymous(boolean newAnonymous) { boolean oldAnonymous = anonymous; anonymous = newAnonymous; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TypesPackage.JVM_GENERIC_TYPE__ANONYMOUS, oldAnonymous, anonymous)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @SuppressWarnings("unchecked") @Override public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case TypesPackage.JVM_GENERIC_TYPE__TYPE_PARAMETERS: return ((InternalEList<InternalEObject>)(InternalEList<?>)getTypeParameters()).basicAdd(otherEnd, msgs); } return super.eInverseAdd(otherEnd, featureID, msgs); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setInterface(boolean newInterface) { boolean oldInterface = interface_; interface_ = newInterface; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TypesPackage.JVM_GENERIC_TYPE__INTERFACE, oldInterface, interface_)); }