[cdi-dev] unify areQualifiersEquivalent and areInterceptorBindingEquivalent?
Mark Struberg
struberg at yahoo.de
Wed Jan 2 11:37:11 EST 2013
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
More information about the cdi-dev
mailing list