This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Duplicate annotations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Duplicate annotations" Watch "Duplicate annotations" New topic

Duplicate annotations

Zak Nixon
Ranch Hand

Joined: Sep 27, 2003
Posts: 126
I am trying to create an annotation
that will handle multiple entries. My annotation
is for change requests for a particular file.

So, I have an annotation called @ChangeRequest.

I want to be able to say:

But I get a warning/error saying
duplicate annotations?
Is there any way around this ?

I agree. Here's the link:
subject: Duplicate annotations
Similar Threads
removeAllHighlights() not working
Cewolf : how to paint specific point
does java annotations uses the java refection.
Implementing Annotation Question
Treeset adding not based on equals method ?