Is it possible to make use of annotations in the annotated class? Drupal using Doctrine

For updating Views in Drupal core to use plugins for aggregation functionality, i could replicate

Seems like a class knows its own classname, even if the method is in a base class i think you can access the current class, and then from their you can just load all of doctrine and grab the annotation out of its data store.

Not sure if any Drupal-specific stuff helps with that?

But some notes on general approach, haven’t found anyone doing simply what i’m thinking of though.