resteasy/Resteasy — pull request #84 by hierynomus (2012-05-11 15:19:01+00:00)
Title: RESTEASY-701: DecoratorMatcher now checks whether DecoratorProcessor can handle the type

As described in RESTEASY-701, DecoratorMatcher was not checking whether the DecoratorProcessor would be able to handle the target (Marshaller/Unmarshaller).

This is now fixed by actually checking whether it is type assignable. I've included a test to verify the fix.