A simpler model for repeating annotations

Paul Benedict pbenedict at apache.org
Wed Jan 2 07:32:28 PST 2013


BTW, I read something by Remi a few days back that was quite
interesting. It was from another thread. He said that correct method
overloading is not supposed to change behavior. Given that bit of
wisdom, that's why I recommend a renaming here. Behavior is changing,
thus a new name should be given.

On Wed, Jan 2, 2013 at 9:22 AM, Paul Benedict <pbenedict at apache.org> wrote:
> I like the new proposal better. Yet, there's one thing that bothers
> me, which is the naming of get[Declared]Annotations(Foo.class). It's
> way too easy to look at the API and miss the difference in behavior
> here. I propose giving it this name:
> get[Declared]RepeatingAnnotations(Foo.class) -- and do the same for
> language model's new typed method.
>
> Paul



More information about the enhanced-metadata-spec-discuss mailing list