Base class for typed data references.
Data types based on this base class need to be named "{TARGET_TYPE}_reference", whereas {TARGET_TYPE} is the referenced data type. For example, an entity reference data type would have to be named "entity_reference". Beside that, implementing classes have to implement at least \Drupal\Core\TypedData\DataReferenceInterface::getTargetIdentifier().
Hierarchy
class \Drupal\Core\TypedData\TypedData implements PluginInspectionInterface, TypedDataInterface uses St