ccstm
ccstm copied to clipboard
compiler plugin for fields
TxnFieldUpdater
leads to some boilerplate, which should be automated with a compiler plugin that processes a per-field annotation. The resulting fields would get transactional getters and setters, and also a getter that would produce a Ref
instance for non-transactional access and more sophisticated operations.
Given a compiler plugin, is targeting TxnFieldUpdater
actually the best strategy?