boolean (@NotNull MergeContext context, @NotNull MergeRequest request) { if (!(request instanceof ThreesideMergeRequest)) return false; MergeUtil.ProxyDiffContext diffContext = new MergeUtil.ProxyDiffContext(context); for (DiffContent diffContent : ((ThreesideMergeRequest)request).getContents()) { if (!BinaryEditorHolder.BinaryEditorHolderFactory.INSTANCE.canShowContent(diffContent, diffContext)) return false; } return true; }