Currently we use the underlying class to perform equality, this is wrong.
WELD-406 Adding Annotated Types through the SPI needs comprehensive tests
WELD-409 Remove custom equality for AnnotatedType and rely on cache/object equality
WELD-335 RIBean needs new definition of equality