public @Nullable LocalInspectionToolWrapper getSharedLocalInspectionToolWrapper() {
    final LocalInspectionTool sharedTool = getTool().getSharedLocalInspectionTool();
    if (sharedTool == null) {
      LOG.assertTrue(!isCleanupTool(), "Global cleanup tool MUST have shared local tool. The tool short name: " + getShortName());
      return null;
    }
    return new LocalInspectionToolWrapper(sharedTool){
      @Override
      public @NotNull String getDisplayName() {
        return GlobalInspectionToolWrapper.this.getDisplayName();
      }

      @Override
      public @Nullable String getLanguage() {
        return GlobalInspectionToolWrapper.this.getLanguage(); // inherit "language=" xml tag from the global inspection EP
      }
    };
  }
public @Nullable LocalInspectionToolWrapper getSharedLocalInspectionToolWrapper()