Store compilerplugin warning about classes derived from a specific class.

Useful in case someone wants to find all classes deriving from "foo" and "bar".

Change-Id: I7b12882881712d37976eb8c96fad6e9c9ac01370