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