Well, I'm not sure the semantics of that name are correct, as qualiifer/interceptor
binding equality is different from annotation equality. We could call it
areBindingsEquivalent...
On 2 Jan 2013, at 16:37, Mark Struberg wrote:
areQualifiersEquivalent
and
areInterceptorBindingsEquivalent
are pretty much the same internally, right?
So what about to generalize this into a
areAnnotationsEquivalent(Annotation ann1, Annotation ann2)
which returns only true if the classes of ann1 == ann2 and all except @Nonbinding members
are equal.
same goes for the hashCode methods of those 2.
wdyt?
LieGrue,
strub
_______________________________________________
cdi-dev mailing list
cdi-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/cdi-dev