private static @Nullable AnalysisScope getModuleScope(DataContext dataContext) {
    final Module data = PlatformCoreDataKeys.MODULE.getData(dataContext);
    if (data == null) {
      return null;
    }
    return new AnalysisScope(data);
  }
private static @Nullable AnalysisScope getModuleScope(DataContext dataContext)