public static boolean isPatchFile(@Nullable VirtualFile vFile) {
    return vFile != null && FileTypeRegistry.getInstance().isFileOfType(vFile, INSTANCE);
  }
public static boolean isPatchFile(@Nullable VirtualFile vFile)