As a followup to this question about Scala's @BeanProperty generating change events: What would it take to fully implement the behavior that annotating a var field with some custom annotation (@Property, for instance) would generate the code needed to fire property change events? The only way to do it is to write a compiler plugin, right?
More generally: is there a standard way (like in Java) to process annotations in the compiler in Scala?