public void setOriginalFile(@NotNull final PsiFile originalFile) { myOriginalFile = originalFile.getOriginalFile(); }
@Override public int compare(PsiFile o1, PsiFile o2) { return o1.getLanguage().getID().compareTo(o2.getLanguage().getID()); }
public static void putInfo(PsiFile psiFile, Map<String, String> info) { info.put("fileName", psiFile.getName()); info.put("fileType", psiFile.getFileType().toString()); }