/** * This method is not meant to be used by others. It is here so that the reflection * adapters can reference the unreflected supertypes. * * @return * * @since 1.1.0 */ public EList primGetESuperTypes() { return super.getESuperTypes(); }
private EList getInterfaceSuperTypes() { return super.getESuperTypes(); }
public void setSupertype(JavaClass aJavaClass) throws InheritanceCycleException { validateSupertype(aJavaClass); List s = super.getESuperTypes(); s.clear(); if (aJavaClass != null) s.add(aJavaClass); }
public EList getESuperTypes() { reflectBase(); return super.getESuperTypes(); }
@Override public void eSetDeliver(boolean deliver) { super.eSetDeliver(deliver); if (deliver) { for (EClass eSuperType : getESuperTypes()) { ESuperAdapter eSuperAdapter = ((ESuperAdapter.Holder)eSuperType).getESuperAdapter(); eSuperAdapter.getSubclasses().add(this); } } }
@Override public void eSetDeliver(boolean deliver) { super.eSetDeliver(deliver); if (deliver) { for (EClass eSuperType : getESuperTypes()) { ESuperAdapter eSuperAdapter = ((ESuperAdapter.Holder)eSuperType).getESuperAdapter(); eSuperAdapter.getSubclasses().add(this); } } }
return; case EcorePackage.ECLASS__ESUPER_TYPES: getESuperTypes().clear(); getESuperTypes().addAll((Collection<? extends EClass>)newValue); return; case EcorePackage.ECLASS__EOPERATIONS:
return; case EcorePackage.ECLASS__ESUPER_TYPES: getESuperTypes().clear(); getESuperTypes().addAll((Collection<? extends EClass>)newValue); return; case EcorePackage.ECLASS__EOPERATIONS:
if (computationInProgress.add(this)) for (EClass eSuperType : getESuperTypes())
if (computationInProgress.add(this)) for (EClass eSuperType : getESuperTypes())
if (computationInProgress.add(this)) for (EClass eSuperType : getESuperTypes())
if (computationInProgress.add(this)) for (EClass eSuperType : getESuperTypes())
if (computationInProgress.add(this)) for (EClass eSuperType : getESuperTypes())
if (computationInProgress.add(this)) for (EClass eSuperType : getESuperTypes())
if (computationInProgress.add(this)) for (EClass eSuperType : getESuperTypes())
if (computationInProgress.add(this)) for (EClass eSuperType : getESuperTypes())
return isInterface(); case EcorePackage.ECLASS__ESUPER_TYPES: return getESuperTypes(); case EcorePackage.ECLASS__EOPERATIONS: return getEOperations();
return isInterface(); case EcorePackage.ECLASS__ESUPER_TYPES: return getESuperTypes(); case EcorePackage.ECLASS__EOPERATIONS: return getEOperations();