@Override
    public @Nullable FileType getContentType() {
      ContentDiffRequest contentRequest = ObjectUtils.tryCast(myRequest, ContentDiffRequest.class);
      if (contentRequest != null) {
        return JBIterable.from(contentRequest.getContents())
          .map(DiffContent::getContentType)
          .filter(fileType -> fileType != null && fileType != UnknownFileType.INSTANCE)
          .first();
      }
      return null;
    }
@Override
    public @Nullable FileType getContentType()