25 files declare their use of GeneratedUrl

EntityLinks.php in core/modules/filter/src/Plugin/Filter/EntityLinks.php
EntityLinkTargetInterface.php in core/lib/Drupal/Core/Entity/EntityLinkTargetInterface.php
EntityReferenceFieldItemNormalizerTest.php in core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php
EntityUrlTest.php in core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php
FieldPluginBaseTest.php in core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php
File.php in core/modules/media/src/Plugin/media/Source/File.php
FileLinkTarget.php in core/modules/file/src/Entity/FileLinkTarget.php
HtmxAttributesTest.php in core/tests/Drupal/Tests/Core/Htmx/HtmxAttributesTest.php
HtmxHeadersTest.php in core/tests/Drupal/Tests/Core/Htmx/HtmxHeadersTest.php
LinkGeneratorTest.php in core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php
LinkTest.php in core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php
MediaLinkTarget.php in core/modules/media/src/Entity/MediaLinkTarget.php
MediaLinkTargetStandaloneWhenAvailable.php in core/modules/media/src/Entity/MediaLinkTargetStandaloneWhenAvailable.php
MenuLinkContentLinkTarget.php in core/modules/menu_link_content/src/Entity/MenuLinkContentLinkTarget.php
MetadataBubblingUrlGenerator.php in core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php
OEmbed.php in core/modules/media/src/Plugin/media/Source/OEmbed.php
RenderElementTest.php in core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php
RequestFormatRouteFilterTest.php in core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php
RouteNoneTest.php in core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteNoneTest.php
RouteProcessorCurrentIntegrationTest.php in core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteProcessorCurrentIntegrationTest.php
ShortcutLinkTarget.php in core/modules/shortcut/src/Entity/ShortcutLinkTarget.php
UnroutedUrlAssembler.php in core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php
UnroutedUrlAssemblerTest.php in core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php
UrlGenerator.php in core/lib/Drupal/Core/Routing/UrlGenerator.php
UrlTest.php in core/tests/Drupal/Tests/Core/UrlTest.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.