String (@NotNull ProjectResolverContext resolverCtx, @NotNull IdeaModule gradleModule) { ExternalProject externalProject = resolverCtx.getExtraProject(gradleModule, ExternalProject.class); if (externalProject == null) { throw new IllegalStateException( "Missing " + ExternalProject.class.getSimpleName() + " for " + gradleModule.getGradleProject().getPath() ); } if (!StringUtil.isEmpty(resolverCtx.getBuildSrcGroup())) { return resolverCtx.getBuildSrcGroup() + ":" + getModuleId(externalProject); } return getModuleId(externalProject); }