You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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:
The text was updated successfully, but these errors were encountered:
As expected, the methods have been relocated. The body of m1 and m2 have been transferred to $tt_m1 and $tt_m2 respectively. The type inference visitor does not visit these new methods because they are not part of the parse result.
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:
The text was updated successfully, but these errors were encountered: