28 files declare their use of AccessResultInterface

AccessibleTestingTrait.php in core/modules/block_content/tests/src/Unit/Access/AccessibleTestingTrait.php
AccessResultTest.php in core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
AnnounceBlock.php in core/modules/announcements_feed/src/Plugin/Block/AnnounceBlock.php
BlockContentAccessControlHandler.php in core/modules/block_content/src/BlockContentAccessControlHandler.php
BlockPluginHasSettingsTrayFormAccessCheckTest.php in core/modules/settings_tray/tests/src/Unit/Access/BlockPluginHasSettingsTrayFormAccessCheckTest.php
CKEditor5MediaController.php in core/modules/ckeditor5/src/Controller/CKEditor5MediaController.php
DynamicPageCacheTestController.php in core/modules/dynamic_page_cache/tests/dynamic_page_cache_test/src/DynamicPageCacheTestController.php
Element.php in core/lib/Drupal/Core/Render/Element.php
EntityAccessDeniedHttpException.php in core/modules/jsonapi/src/Exception/EntityAccessDeniedHttpException.php
EntityPermissionsForm.php in core/modules/user/src/Form/EntityPermissionsForm.php
FieldResolver.php in core/modules/jsonapi/src/Context/FieldResolver.php
FieldReuseAccessCheck.php in core/modules/field_ui/src/Access/FieldReuseAccessCheck.php
FormBuilder.php in core/lib/Drupal/Core/Form/FormBuilder.php
LinksetController.php in core/modules/system/src/Controller/LinksetController.php
MediaAccessControlHandlerTest.php in core/modules/media/tests/src/Kernel/MediaAccessControlHandlerTest.php
MenuLinkContentEntityAccessTest.php in core/modules/menu_link_content/tests/src/Unit/MenuLinkContentEntityAccessTest.php
MenuLinkTree.php in core/lib/Drupal/Core/Menu/MenuLinkTree.php
NavigationSectionStorage.php in core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.php
NavigationShortcutsBlock.php in core/modules/navigation/src/Plugin/Block/NavigationShortcutsBlock.php
PrepareModulesEntityUninstallForm.php in core/modules/system/src/Form/PrepareModulesEntityUninstallForm.php
Renderer.php in core/lib/Drupal/Core/Render/Renderer.php
RendererTest.php in core/tests/Drupal/Tests/Core/Render/RendererTest.php
ResourceResponseTestTrait.php in core/modules/jsonapi/tests/src/Functional/ResourceResponseTestTrait.php
SystemAdminMenuBlockAccessCheck.php in core/modules/system/src/Access/SystemAdminMenuBlockAccessCheck.php
taxonomy_test.module in core/modules/taxonomy/tests/modules/taxonomy_test/taxonomy_test.module
TestAction.php in core/modules/views/tests/modules/action_bulk_test/src/Plugin/Action/TestAction.php
UserPermissionsModuleSpecificForm.php in core/modules/user/src/Form/UserPermissionsModuleSpecificForm.php
WorkspaceSwitcherBlock.php in core/modules/workspaces/src/Plugin/Block/WorkspaceSwitcherBlock.php

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