[ 
https://issues.apache.org/jira/browse/DELTASPIKE-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Struberg resolved DELTASPIKE-265.
--------------------------------------
    Resolution: Won't Fix

We already have 
{{org.apache.deltaspike.core.util.AnnotationUtils#getQualifierHashCode}} which 
should do the trick most times.

> ComparableAnnotation
> --------------------
>
>                 Key: DELTASPIKE-265
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-265
>             Project: DeltaSpike
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.3-incubating
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>            Priority: Major
>
> We pretty often faced the problem that we have to compare Qualifiers, 
> InterceptorBindings or other CDI annotations which support the "@Nonbinding" 
> annotation. 
> By providing a simple wrapper which implements the equals() and hashCode(), 
> we can use this wrapper as key in HashMaps, etc. 
> A method #getAnnotation() gives access to the wrapped underlying annotation.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to