// Obtain or create and register interdependencies
BundlePackageImpl theBundlePackage = (BundlePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BundlePackage.eNS_URI) instanceof BundlePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BundlePackage.eNS_URI) : BundlePackage.eINSTANCE);
// Create package meta-data objects
theTaskPackage.createPackageContents();
theBundlePackage.createPackageContents();
// Initialize created meta-data
theTaskPackage.initializePackageContents();
theBundlePackage.initializePackageContents();