src/share/classes/com/sun/tools/apt/mirror/declaration/AnnotationProxyMaker.java

Print this page

        

@@ -268,11 +268,11 @@
     /**
      * ExceptionProxy for MirroredTypeException.
      * The toString, hashCode, and equals methods foward to the underlying
      * type.
      */
-    private static class MirroredTypeExceptionProxy extends ExceptionProxy {
+    private static final class MirroredTypeExceptionProxy extends ExceptionProxy {
         private static final long serialVersionUID = 6662035281599933545L;
 
         private MirroredTypeException ex;
 
         MirroredTypeExceptionProxy(TypeMirror t) {

@@ -310,11 +310,11 @@
     /**
      * ExceptionProxy for MirroredTypesException.
      * The toString, hashCode, and equals methods foward to the underlying
      * types.
      */
-    private static class MirroredTypesExceptionProxy extends ExceptionProxy {
+    private static final class MirroredTypesExceptionProxy extends ExceptionProxy {
         private static final long serialVersionUID = -6670822532616693951L;
 
         private MirroredTypesException ex;
 
         MirroredTypesExceptionProxy(Collection<TypeMirror> ts) {