I would like to deprecate only the extension of a given class, not all the methods and fields contained within a class, using the @Deprecated annotation.
That is, a warning will occur if you extend a given class - but references to methods or fields will not trigger a warning. There are already several classes that extend this class, and I want to have the deprecation warnings target these clients - I can't break them yet (but they can be recompiled - ABI compatibility not needed).
Is it possible in Java 1.6 (JDT compiler)?