private static boolean isTypeShouldBeReplacedByTextMateType(@Nullable FileType registeredType) {
    return registeredType == UnknownFileType.INSTANCE
           || registeredType == INSTANCE
           || registeredType == PlainTextFileType.INSTANCE
           || registeredType instanceof TextMateBackedFileType;
  }
private static boolean isTypeShouldBeReplacedByTextMateType(@Nullable FileType registeredType)