Expanded class hierarchy of ContextDefinition in Drupal 10
- class \Drupal\Core\Plugin\Context\ContextDefinition implements ContextDefinitionInterface uses DependencySerializationTrait, TypedDataTrait
- class \Drupal\Core\Plugin\Context\EntityContextDefinition