boolean (@NotNull Change change) { VirtualFile vf = change.getVirtualFile(); if (vf != null) { return isBig(vf.getLength()); } ContentRevision beforeRevision = change.getBeforeRevision(); if (beforeRevision != null) { try { String content = beforeRevision.getContent(); if (content != null && isBig(content.length())) { return true; } } catch (VcsException e) { LOG.info(e); } } return false; }