Since Drupal 10.2 we can use PHP attributes instead of annotations: [#3395582].
I wonder whether there's a plan implement attributes in this module?
Active
1.0
Code