No description provided.
@thradec have you seen ceylon/ceylon-spec#914 ? Would your use case work with that solution too?
@tombentley I think, it will work.
Then is it OK with you to close this issue?
I'm going to reopen this because although ceylon/ceylon-spec#914 will work for @thradec's case I still think it's useful to be easily able to get the inherited annotations (when the annotation class isn't inherited). I think the semantics should be the same, so an optional annotation on a subclass should override, and a sequenced annotation should append.
Concretely, this issue would add NestableDeclaration.inheritedAnnotations().
How do you decide what the set of inherited annotations look like then? What constitutes overriding and stuff?
Is this just for classes like in Java or also interfaces? Is this also for actual member declarations?
You would need to be able to mark an annotation as inherited, like in Java, I guess.
Not for 1.1