ccstm icon indicating copy to clipboard operation
ccstm copied to clipboard

compiler plugin for fields

Open nbronson opened this issue 14 years ago • 1 comments

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.

nbronson avatar Mar 10 '10 20:03 nbronson

Given a compiler plugin, is targeting TxnFieldUpdater actually the best strategy?

nbronson avatar Jun 18 '10 20:06 nbronson