Romain, On 6/14/13 12:13 PM, Romain Manni-Bucau wrote: > Cdi handle interfaces too which are not Object.
There are interfaces which are do not extend Object?
There is essentially a base interface that declares every method in
java.lang.Object. It's simply not possible to have an instance of an
interface that does not have a toString method, for example.
java.lang.Object.class.isAssignableFrom([any class or interface]) will
always return true.
So I would expect that @HandlesType('java.lang.Object') will work.
I have not actually tested it, though.
-chris
signature.asc
Description: OpenPGP digital signature
