Using:
import grails.gorm.transactions.NotTransactional
import grails.gorm.transactions.Transactional
I have groovy services (*Service) classes annotated on class level with @transactional.
Whenever it is commented syntax highlighting works OK (ctrl click on method also works).
If I enable @transactional on class level syntax stops working.
If I mark any method with @NotTransactional then tokens in this method are colored just fine.
Is it because Transactional has:
@GormASTTransformationClass( "org.grails.datastore.gorm.transactions.transform.TransactionalTransform")
If so, why after creating my own TransactionalMy annotation (copy of Transactional) and annotating my services with it - it lets syntax highlighting work fine?
See screenshots and the difference on simple class:


Using:
I have groovy services (*Service) classes annotated on class level with @transactional.
Whenever it is commented syntax highlighting works OK (ctrl click on method also works).
If I enable @transactional on class level syntax stops working.
If I mark any method with @NotTransactional then tokens in this method are colored just fine.
Is it because Transactional has:
@GormASTTransformationClass( "org.grails.datastore.gorm.transactions.transform.TransactionalTransform")If so, why after creating my own TransactionalMy annotation (copy of Transactional) and annotating my services with it - it lets syntax highlighting work fine?
See screenshots and the difference on simple class: