MavenServerConnector () { if (myIndexingConnector != null) return myIndexingConnector; synchronized (myMultimoduleDirToConnectorMap) { if (myIndexingConnector != null) return myIndexingConnector; myIndexingConnector = new MavenIndexingConnectorImpl(JavaAwareProjectJdkTableImpl.getInstanceEx().getInternalJdk(), "", getFreeDebugPort(), MavenDistributionsCache.resolveEmbeddedMavenHome(), workingDir); myIndexingConnector.connect(); } return myIndexingConnector; }