protected void resolve() {
protected void resolve(boolean singleton) {
	protected void resolve() {		if (domain != null && !checkPermissions()) {			state = INSTALLED;			return;		}		if (Debug.DEBUG && Debug.DEBUG_GENERAL) {			if ((state & (INSTALLED)) == 0) {				Debug.println("Bundle.resolve called when state != INSTALLED: " + this);				Debug.printStackTrace(new Exception("Stack trace"));			}		}		if (state == INSTALLED) {			state = RESOLVED;			// Do not publish RESOLVED event here.  This is done by caller 			// to resolve if appropriate.		}	}