diff --git a/core/lib/Drupal/Core/Entity/Entity.php b/core/lib/Drupal/Core/Entity/Entity.php
index fa9626a..b72ba30 100644
--- a/core/lib/Drupal/Core/Entity/Entity.php
+++ b/core/lib/Drupal/Core/Entity/Entity.php
@@ -434,7 +434,10 @@ public function getCacheTags() {
    */
   public static function load($id) {
     $entity_manager = \Drupal::entityManager();
-    return $entity_manager->getStorage($entity_manager->getEntityTypeFromClass(get_called_class()))->load($id);
+    // Inline type hint to allow IDEs to autocomplete on the real entity class.
+    /** @var static $entity */
+    $entity = $entity_manager->getStorage($entity_manager->getEntityTypeFromClass(get_called_class()))->load($id);
+    return $entity;
   }
 
   /**
