DebugOptions dbgOptions = null; if ((dbgOptions = DebugOptions.getDefault()) != null)
FrameworkDebugOptions dbgOptions = null; if ((dbgOptions = FrameworkDebugOptions.getDefault()) != null)
	public void start(BundleContext context) throws Exception {		this.context = context;		bundle = (SystemBundle) context.getBundle();		framework = bundle.framework;		if (framework.packageAdmin != null)			packageAdmin = register(Constants.OSGI_PACKAGEADMIN_NAME, framework.packageAdmin);		if (framework.permissionAdmin != null)			permissionAdmin = register(Constants.OSGI_PERMISSIONADMIN_NAME, framework.permissionAdmin);		if (framework.startLevelManager != null)			startLevel = register(Constants.OSGI_STARTLEVEL_NAME, framework.startLevelManager);		if (framework.condPermAdmin != null)			condPermAdmin = register(ConditionalPermissionAdmin.class.getName(), framework.condPermAdmin);		DebugOptions dbgOptions = null;		if ((dbgOptions = DebugOptions.getDefault()) != null)			debugOptions = register(org.eclipse.osgi.service.debug.DebugOptions.class.getName(), dbgOptions);		// Always call the adaptor.frameworkStart() at the end of this method.		framework.adaptor.frameworkStart(context);		// attempt to resolve all bundles		// this is done after the adaptor.frameworkStart has been called		// this should be the first time the resolver State is accessed		framework.packageAdmin.setResolvedBundles(bundle);	}