private static EntryPointsManager getEntryPointsManager(@NotNull GlobalInspectionContext context) {
    return context.getExtension(GlobalJavaInspectionContext.CONTEXT).getEntryPointsManager(context.getRefManager());
  }
private static EntryPointsManager getEntryPointsManager(@NotNull GlobalInspectionContext context)