boolean (@NotNull DiffTool tool, @NotNull DiffTool activeTool, @NotNull DiffContext diffContext, @NotNull DiffRequest diffRequest) { if (tool == activeTool) return true; if (findToolSubstitutor(tool, diffContext, diffRequest) == activeTool) return true; return false; }