@Nullable private PyRemotePathMapper createRemotePathMapper() { if (myConfig.getMappingSettings() == null) { return null; } else { return PyRemotePathMapper.fromSettings( myConfig.getMappingSettings(), PyRemotePathMapper.PyPathMappingType.USER_DEFINED); } }