You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2014/08/16 23:53:19 UTC

[jira] [Updated] (DELTASPIKE-265) ComparableAnnotation

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

Gerhard Petracek updated DELTASPIKE-265:
----------------------------------------

    Fix Version/s:     (was: 1.0.2)

> 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
>
> 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
(v6.2#6252)