--- old/src/share/classes/com/sun/mirror/type/MirroredTypesException.java 2009-07-26 21:26:20.000000000 -0700 +++ new/src/share/classes/com/sun/mirror/type/MirroredTypesException.java 2009-07-26 21:26:20.000000000 -0700 @@ -38,9 +38,16 @@ * Thrown when an application attempts to access a sequence of {@link Class} * objects each corresponding to a {@link TypeMirror}. * + * @deprecated All components of this API have been superseded by the + * standardized annotation processing API. The replacement for the + * functionality of this exception is {@link + * javax.lang.model.type.MirroredTypesException}. + * * @see MirroredTypeException * @see Declaration#getAnnotation(Class) */ +@Deprecated +@SuppressWarnings("deprecation") public class MirroredTypesException extends RuntimeException { private static final long serialVersionUID = 1;