[swift-evolution] Java-style annotations (attributes?)
clattner at apple.com
Tue Sep 27 22:24:01 CDT 2016
> On Sep 27, 2016, at 5:02 PM, Rick Mann via swift-evolution <swift-evolution at swift.org> wrote:
> I did a little googling, but didn't find this specific question being asked. I've had the question in my head for a while now, so I apologize if I already brought this up.
> Will Swift ever support introspectable Java-style annotations? I think the current syntactic construct is called an Attribute, but they'd be customizable, created in much the same way as classes are.
This is something that many people are aware of and is commonly requested. It isn’t on the short-term todo list (which is oriented around ABI stability at the moment) but is something that many folks are interested in adding at some point.
More information about the swift-evolution