DocumentContentBuilder (@Nullable DocumentContent referent) { if (referent != null) { context = new Context.ByReferent(referent); VirtualFile file = referent.getHighlightFile(); if (file != null) { originalFilePath = file.getPath(); fileName = file.getName(); } } return this; }