ModuleData (@NotNull ProjectResolverContext resolverContext, @NotNull IdeaModule dependencyModule) { final String id = GradleProjectResolverUtil.getModuleId(resolverContext, dependencyModule); final Pair<DataNode<ModuleData>, IdeaModule> pair = myModuleIdIndex.get(id); if (pair != null) { return pair.first.getData(); } return null; }