private static boolean canBeModified(@Nullable FileType fileType) {
    return fileType instanceof AbstractFileType; //todo: add API for canBeModified
  }
private static boolean canBeModified(@Nullable FileType fileType)