@ApiStatus.Internal
  default boolean hasIdentifierInFile(@NotNull PsiFile file, @NotNull String name) {
    throw new UnsupportedOperationException();
  }
@ApiStatus.Internal
  default boolean hasIdentifierInFile(@NotNull PsiFile file, @NotNull String name)