public static @Nullable FileNameMatcher getSubtypeMatcher(@NotNull FileType fileType) {
    return fileType instanceof MyFileSubtype ? ((MyFileSubtype)fileType).getMatcher() : null;
  }
public static @Nullable FileNameMatcher getSubtypeMatcher(@NotNull FileType fileType)