osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/ImportDeclarationImpl.java
return name;
String getName()
String newName
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/ImportDeclarationImpl.java
String oldName = name;
      name = newName;
      if (eNotificationRequired())
         eNotify(new ENotificationImpl(this, Notification.SET, JavaModelPackage.IMPORT_DECLARATION__NAME, oldName, name));
void setName(String newName)
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/ImportDeclarationImpl.java
// TODO: implement this method
      // Ensure that you remove @generated or mark it @generated NOT
      throw new UnsupportedOperationException();
JavaResourceBundle getResourceBundle()
String source
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/ImportDeclarationImpl.java
// TODO: implement this method
      // Ensure that you remove @generated or mark it @generated NOT
      throw new UnsupportedOperationException();
Annotation getAnnotation(String source)
String source  boolean createOnDemand
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/ImportDeclarationImpl.java
// TODO: implement this method
      // Ensure that you remove @generated or mark it @generated NOT
      throw new UnsupportedOperationException();
Annotation getAnnotation(String source, boolean createOnDemand)
String source  String key
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/ImportDeclarationImpl.java
// TODO: implement this method
      // Ensure that you remove @generated or mark it @generated NOT
      throw new UnsupportedOperationException();
String getAnnotationData(String source, String key)
Class<T> extensionType
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/ImportDeclarationImpl.java
// TODO: implement this method
      // Ensure that you remove @generated or mark it @generated NOT
      throw new UnsupportedOperationException();
T getExtension(Class<T> extensionType)
T extension
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/ImportDeclarationImpl.java
// TODO: implement this method
      // Ensure that you remove @generated or mark it @generated NOT
      throw new UnsupportedOperationException();
void addExtension(T extension)
T extension
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/ImportDeclarationImpl.java
// TODO: implement this method
      // Ensure that you remove @generated or mark it @generated NOT
      throw new UnsupportedOperationException();
void removeExtension(T extension)
Class<T> extentionType
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/ImportDeclarationImpl.java
// TODO: implement this method
      // Ensure that you remove @generated or mark it @generated NOT
      throw new UnsupportedOperationException();
void removeExtensions(Class<T> extentionType)
int derivedFeatureID  Class<?> baseClass
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/ImportDeclarationImpl.java
if (baseClass == Extendable.class)
      {
         switch (derivedFeatureID)
         {
            case JavaModelPackage.IMPORT_DECLARATION__EXTENSIONS :
               return CommonModelPackage.EXTENDABLE__EXTENSIONS;
            default :
               return -1;
int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
int baseFeatureID  Class<?> baseClass
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/ImportDeclarationImpl.java
if (baseClass == Extendable.class)
      {
         switch (baseFeatureID)
         {
            case CommonModelPackage.EXTENDABLE__EXTENSIONS :
               return JavaModelPackage.IMPORT_DECLARATION__EXTENSIONS;
            default :
               return -1;
int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/ImportDeclarationImpl.java
if (eIsProxy())
         return super.toString();

      StringBuffer result = new StringBuffer(super.toString());
      result.append(" (name: ");
      result.append(name);
      result.append(')');
      return result.toString();
String toString()
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaModelFactoryImpl.java
JavaPackageImpl javaPackage = new JavaPackageImpl();
      return javaPackage;
JavaPackage createJavaPackage()
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaModelFactoryImpl.java
JavaClassImpl javaClass = new JavaClassImpl();
      return javaClass;
JavaClass createJavaClass()
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaModelFactoryImpl.java
JavaCompilationUnitImpl javaCompilationUnit = new JavaCompilationUnitImpl();
      return javaCompilationUnit;
JavaCompilationUnit createJavaCompilationUnit()
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaModelFactoryImpl.java
ImportDeclarationImpl importDeclaration = new ImportDeclarationImpl();
      return importDeclaration;
ImportDeclaration createImportDeclaration()
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaModelFactoryImpl.java
JavaTypeImpl javaType = new JavaTypeImpl();
      return javaType;
JavaType createJavaType()
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaModelPackageImpl.java
return javaCompilationUnitEClass;
EClass getJavaCompilationUnit()
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaModelPackageImpl.java
return (EReference) javaCompilationUnitEClass.getEStructuralFeatures().get(0);
    * <!-- begin-user-doc -->
    * <!-- end-user-doc -->
   public EClass getImportDeclaration()
      return importDeclarationEClass;
    * <!-- begin-user-doc -->
    * <!-- end-user-doc -->
   public EReference getImportDeclaration_CompilationUnit()
      return (EReference) importDeclarationEClass.getEStructuralFeatures().get(0);
    * <!-- begin-user-doc -->
    * <!-- end-user-doc -->
   public EClass getJavaType()
      return javaTypeEClass;
    * <!-- begin-user-doc -->
    * <!-- end-user-doc -->
   public EReference getJavaType_InnerTypes()
      return (EReference) javaTypeEClass.getEStructuralFeatures().get(0);
    * <!-- begin-user-doc -->
    * <!-- end-user-doc -->
   public EReference getJavaType_OuterType()
      return (EReference) javaTypeEClass.getEStructuralFeatures().get(1);
    * <!-- begin-user-doc -->
    * <!-- end-user-doc -->
    * 
    * @generated
    */
   public EClass getJavaResource()
   {
      return javaResourceEClass;
EReference getJavaCompilationUnit_ImportDeclarations()
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaModelPackageImpl.java
return javaResourcesTypeEEnum;
EEnum getJavaResourcesType()
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaPackageImpl.java
super();
protected JavaPackageImpl()
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaPackageImpl.java
return JavaModelPackage.Literals.JAVA_PACKAGE;
EClass eStaticClass()
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaPackageImpl.java
// TODO: implement this method
      // Ensure that you remove @generated or mark it @generated NOT
      throw new UnsupportedOperationException();
String getQualifiedName()
int derivedFeatureID  Class<?> baseClass
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaPackageImpl.java
if (baseClass == QualifiedJavaElement.class)
      {
         switch (derivedFeatureID)
         {
            default :
               return -1;
int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaTypeImpl.java
return name;
String getName()
String newName
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaTypeImpl.java
String oldName = name;
      name = newName;
      if (eNotificationRequired())
         eNotify(new ENotificationImpl(this, Notification.SET, JavaModelPackage.JAVA_TYPE__NAME, oldName, name));
void setName(String newName)
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaTypeImpl.java
// TODO: implement this method
      // Ensure that you remove @generated or mark it @generated NOT
      throw new UnsupportedOperationException();
JavaResourceBundle getResourceBundle()
String source
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaTypeImpl.java
// TODO: implement this method
      // Ensure that you remove @generated or mark it @generated NOT
      throw new UnsupportedOperationException();
Annotation getAnnotation(String source)
String source  boolean createOnDemand
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaTypeImpl.java
// TODO: implement this method
      // Ensure that you remove @generated or mark it @generated NOT
      throw new UnsupportedOperationException();
    * <!-- begin-user-doc -->
    * <!-- end-user-doc -->
   public String getAnnotationData(String source, String key)
    * <!-- begin-user-doc -->
    * <!-- end-user-doc -->
   public <T extends EObject> T getExtension(Class<T> extensionType)
    * <!-- begin-user-doc -->
    * <!-- end-user-doc -->
    * 
    * @generated
    */
   public <T extends EObject> EList<T> getExtensions(Class<T> extensionType)
   {
      // TODO: implement this method
      // Ensure that you remove @generated or mark it @generated NOT
      throw new UnsupportedOperationException();
Annotation getAnnotation(String source, boolean createOnDemand)
T extension
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaTypeImpl.java
// TODO: implement this method
      // Ensure that you remove @generated or mark it @generated NOT
      throw new UnsupportedOperationException();
void addExtension(T extension)
T extension
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaTypeImpl.java
// TODO: implement this method
      // Ensure that you remove @generated or mark it @generated NOT
      throw new UnsupportedOperationException();
void removeExtension(T extension)
Class<T> extentionType
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaTypeImpl.java
// TODO: implement this method
      // Ensure that you remove @generated or mark it @generated NOT
      throw new UnsupportedOperationException();
void removeExtensions(Class<T> extentionType)
int derivedFeatureID  Class<?> baseClass
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaTypeImpl.java
if (baseClass == Extendable.class)
      {
         switch (derivedFeatureID)
         {
            case JavaModelPackage.JAVA_TYPE__EXTENSIONS :
               return CommonModelPackage.EXTENDABLE__EXTENSIONS;
            default :
               return -1;
int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
int baseFeatureID  Class<?> baseClass
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaTypeImpl.java
if (baseClass == Extendable.class)
      {
         switch (baseFeatureID)
         {
            case CommonModelPackage.EXTENDABLE__EXTENSIONS :
               return JavaModelPackage.JAVA_TYPE__EXTENSIONS;
            default :
               return -1;
int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
JavaProject object
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/util/JavaModelAdapterFactory.java
return createJavaProjectAdapter();
      public Adapter caseJavaResourceDirectory(JavaResourceDirectory object)
         return createJavaResourceDirectoryAdapter();
Adapter caseJavaProject(JavaProject object)
JavaResourcesRoot object
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/util/JavaModelAdapterFactory.java
return createJavaResourcesRootAdapter();
Adapter caseJavaResourcesRoot(JavaResourcesRoot object)
JavaPackage object
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/util/JavaModelAdapterFactory.java
return createJavaPackageAdapter();
Adapter caseJavaPackage(JavaPackage object)
JavaFile object
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/util/JavaModelAdapterFactory.java
return createJavaFileAdapter();
Adapter caseJavaFile(JavaFile object)
JavaClass object
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/util/JavaModelAdapterFactory.java
return createJavaClassAdapter();
      public Adapter caseJavaCompilationUnit(JavaCompilationUnit object)
      {
         return createJavaCompilationUnitAdapter();
Adapter caseJavaClass(JavaClass object)
JavaResource object
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/util/JavaModelAdapterFactory.java
return createJavaResourceAdapter();
    * Creates an adapter for the <code>target</code>.
    * <!-- begin-user-doc -->
    * <!-- end-user-doc -->
    * Creates a new adapter for an object of class '{@link org.sourcepit.osgify.core.model.java.Named <em>Named</em>
Adapter caseJavaResource(JavaResource object)
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/util/JavaModelAdapterFactory.java
return null;
Adapter createJavaResourceBundleAdapter()
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/util/JavaModelAdapterFactory.java
return null;
Adapter createJavaResourceDirectoryAdapter()
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/util/JavaModelAdapterFactory.java
return null;
Adapter createJavaResourcesRootAdapter()
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/util/JavaModelAdapterFactory.java
return null;
Adapter createJavaFileAdapter()
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/util/JavaModelAdapterFactory.java
return null;
Adapter createJavaClassAdapter()
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/util/JavaModelAdapterFactory.java
return null;
Adapter createJavaCompilationUnitAdapter()
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/util/JavaModelAdapterFactory.java
return null;
Adapter createImportDeclarationAdapter()
JavaProject object
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/util/JavaModelSwitch.java
return null;
T caseJavaProject(JavaProject object)
JavaResourceDirectory object
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/util/JavaModelSwitch.java
return null;
T caseJavaResourceDirectory(JavaResourceDirectory object)
JavaResourcesRoot object
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/util/JavaModelSwitch.java
return null;
T caseJavaResourcesRoot(JavaResourcesRoot object)
JavaPackage object
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/util/JavaModelSwitch.java
return null;
T caseJavaPackage(JavaPackage object)
JavaFile object
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/util/JavaModelSwitch.java
return null;
T caseJavaFile(JavaFile object)
JavaClass object
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/util/JavaModelSwitch.java
return null;
T caseJavaClass(JavaClass object)
ImportDeclaration object
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/util/JavaModelSwitch.java
return null;
T caseImportDeclaration(ImportDeclaration object)
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaClassImpl.java
return type;
JavaType getType()
JavaType newType  NotificationChain msgs
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaClassImpl.java
JavaType oldType = type;
      type = newType;
      if (eNotificationRequired())
      {
         ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
            JavaModelPackage.JAVA_CLASS__TYPE, oldType, newType);
         if (msgs == null)
            msgs = notification;
         else
            msgs.add(notification);
NotificationChain basicSetType(JavaType newType, NotificationChain msgs)
JavaType newType
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaClassImpl.java
if (newType != type)
      {
         NotificationChain msgs = null;
         if (type != null)
            msgs = ((InternalEObject) type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
               - JavaModelPackage.JAVA_CLASS__TYPE, null, msgs);
         if (newType != null)
            msgs = ((InternalEObject) newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
               - JavaModelPackage.JAVA_CLASS__TYPE, null, msgs);
         msgs = basicSetType(newType, msgs);
         if (msgs != null)
            msgs.dispatch();
void setType(JavaType newType)
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaClassImpl.java
if (eContainerFeatureID() != JavaModelPackage.JAVA_CLASS__PARENT_PACKAGE)
         return null;
      return (JavaPackage) eContainer();
JavaPackage getParentPackage()
JavaPackage newParentPackage  NotificationChain msgs
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaClassImpl.java
msgs = eBasicSetContainer((InternalEObject) newParentPackage, JavaModelPackage.JAVA_CLASS__PARENT_PACKAGE, msgs);
      return msgs;
NotificationChain basicSetParentPackage(JavaPackage newParentPackage, NotificationChain msgs)
JavaPackage newParentPackage
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaClassImpl.java
if (newParentPackage != eInternalContainer()
         || (eContainerFeatureID() != JavaModelPackage.JAVA_CLASS__PARENT_PACKAGE && newParentPackage != null))
      {
         if (EcoreUtil.isAncestor(this, newParentPackage))
            throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
         NotificationChain msgs = null;
         if (eInternalContainer() != null)
            msgs = eBasicRemoveFromContainer(msgs);
         if (newParentPackage != null)
            msgs = ((InternalEObject) newParentPackage).eInverseAdd(this, JavaModelPackage.JAVA_PACKAGE__TYPE_ROOTS,
               JavaPackage.class, msgs);
         msgs = basicSetParentPackage(newParentPackage, msgs);
         if (msgs != null)
            msgs.dispatch();
void setParentPackage(JavaPackage newParentPackage)
InternalEObject otherEnd  int featureID  NotificationChain msgs
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaClassImpl.java
switch (featureID)
      {
         case JavaModelPackage.JAVA_CLASS__PARENT_PACKAGE :
            if (eInternalContainer() != null)
               msgs = eBasicRemoveFromContainer(msgs);
            return basicSetParentPackage((JavaPackage) otherEnd, msgs);
NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
InternalEObject otherEnd  int featureID  NotificationChain msgs
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaClassImpl.java
switch (featureID)
      {
         case JavaModelPackage.JAVA_CLASS__TYPE :
            return basicSetType(null, msgs);
         case JavaModelPackage.JAVA_CLASS__PARENT_PACKAGE :
            return basicSetParentPackage(null, msgs);
NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
NotificationChain msgs
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaClassImpl.java
switch (eContainerFeatureID())
      {
         case JavaModelPackage.JAVA_CLASS__PARENT_PACKAGE :
            return eInternalContainer().eInverseRemove(this, JavaModelPackage.JAVA_PACKAGE__TYPE_ROOTS,
               JavaPackage.class, msgs);
NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
int featureID  boolean resolve  boolean coreType
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaClassImpl.java
switch (featureID)
      {
         case JavaModelPackage.JAVA_CLASS__TYPE :
            return getType();
         case JavaModelPackage.JAVA_CLASS__PARENT_PACKAGE :
            return getParentPackage();
Object eGet(int featureID, boolean resolve, boolean coreType)
int featureID  Object newValue
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaClassImpl.java
switch (featureID)
      {
         case JavaModelPackage.JAVA_CLASS__TYPE :
            setType((JavaType) newValue);
            return;
         case JavaModelPackage.JAVA_CLASS__PARENT_PACKAGE :
            setParentPackage((JavaPackage) newValue);
            return;
void eSet(int featureID, Object newValue)
int featureID
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaClassImpl.java
switch (featureID)
      {
         case JavaModelPackage.JAVA_CLASS__TYPE :
            setType((JavaType) null);
            return;
         case JavaModelPackage.JAVA_CLASS__PARENT_PACKAGE :
            setParentPackage((JavaPackage) null);
            return;
void eUnset(int featureID)
int featureID
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaClassImpl.java
switch (featureID)
      {
         case JavaModelPackage.JAVA_CLASS__TYPE :
            return type != null;
         case JavaModelPackage.JAVA_CLASS__PARENT_PACKAGE :
            return getParentPackage() != null;
boolean eIsSet(int featureID)
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaCompilationUnitImpl.java
return type;
JavaType getType()
JavaType newType  NotificationChain msgs
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaCompilationUnitImpl.java
JavaType oldType = type;
      type = newType;
      if (eNotificationRequired())
      {
         ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
            JavaModelPackage.JAVA_COMPILATION_UNIT__TYPE, oldType, newType);
         if (msgs == null)
            msgs = notification;
         else
            msgs.add(notification);
NotificationChain basicSetType(JavaType newType, NotificationChain msgs)
JavaType newType
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaCompilationUnitImpl.java
if (newType != type)
      {
         NotificationChain msgs = null;
         if (type != null)
            msgs = ((InternalEObject) type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
               - JavaModelPackage.JAVA_COMPILATION_UNIT__TYPE, null, msgs);
         if (newType != null)
            msgs = ((InternalEObject) newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
               - JavaModelPackage.JAVA_COMPILATION_UNIT__TYPE, null, msgs);
         msgs = basicSetType(newType, msgs);
         if (msgs != null)
            msgs.dispatch();
void setType(JavaType newType)
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaCompilationUnitImpl.java
if (eContainerFeatureID() != JavaModelPackage.JAVA_COMPILATION_UNIT__PARENT_PACKAGE)
         return null;
      return (JavaPackage) eContainer();
JavaPackage getParentPackage()
JavaPackage newParentPackage  NotificationChain msgs
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaCompilationUnitImpl.java
msgs = eBasicSetContainer((InternalEObject) newParentPackage,
         JavaModelPackage.JAVA_COMPILATION_UNIT__PARENT_PACKAGE, msgs);
      return msgs;
NotificationChain basicSetParentPackage(JavaPackage newParentPackage, NotificationChain msgs)
JavaPackage newParentPackage
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaCompilationUnitImpl.java
if (newParentPackage != eInternalContainer()
         || (eContainerFeatureID() != JavaModelPackage.JAVA_COMPILATION_UNIT__PARENT_PACKAGE && newParentPackage != null))
      {
         if (EcoreUtil.isAncestor(this, newParentPackage))
            throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
         NotificationChain msgs = null;
         if (eInternalContainer() != null)
            msgs = eBasicRemoveFromContainer(msgs);
         if (newParentPackage != null)
            msgs = ((InternalEObject) newParentPackage).eInverseAdd(this, JavaModelPackage.JAVA_PACKAGE__TYPE_ROOTS,
               JavaPackage.class, msgs);
         msgs = basicSetParentPackage(newParentPackage, msgs);
         if (msgs != null)
            msgs.dispatch();
void setParentPackage(JavaPackage newParentPackage)
NotificationChain msgs
osgify-core/gen/main/emf/org/sourcepit/osgify/core/model/java/impl/JavaCompilationUnitImpl.java
switch (eContainerFeatureID())
      {
         case JavaModelPackage.JAVA_COMPILATION_UNIT__PARENT_PACKAGE :
            return eInternalContainer().eInverseRemove(this, JavaModelPackage.JAVA_PACKAGE__TYPE_ROOTS,
               JavaPackage.class, msgs);
NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)