ExternalSystemCommunicationManager (@NotNull ProjectSystemId externalSystemId) { final boolean currentInProcess = ExternalSystemApiUtil.isInProcessMode(externalSystemId); return currentInProcess ? myInProcessCommunicationManager : myRemoteCommunicationManager; }