WARNING: The {@code TypeVisitor} interface implemented
* by this class may have methods added to it in the future to
@@ -94,6 +95,20 @@ public abstract class AbstractTypeVisitor6 WARNING: The {@code TypeVisitor} interface implemented
* by this class may have methods added to it in the future to
@@ -64,4 +65,13 @@ public abstract class AbstractTypeVisitor7 Methods in this class may be overridden subject to their
diff --git a/src/share/classes/javax/lang/model/util/SimpleElementVisitor6.java b/src/share/classes/javax/lang/model/util/SimpleElementVisitor6.java
index a9adac2592e8e1d9b1d2994f2a3050ade7400847..f43fa2da8239e648e17b66effc71a57266432c0b 100644
--- a/src/share/classes/javax/lang/model/util/SimpleElementVisitor6.java
+++ b/src/share/classes/javax/lang/model/util/SimpleElementVisitor6.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -38,8 +38,11 @@ import static javax.lang.model.SourceVersion.*;
* source version.
*
* Visit methods corresponding to {@code RELEASE_6} language
- * constructs call {@link #defaultAction}, passing their arguments to
- * {@code defaultAction}'s corresponding parameters.
+ * constructs call {@link #defaultAction defaultAction}, passing their
+ * arguments to {@code defaultAction}'s corresponding parameters.
+ *
+ * For constructs introduced in {@code RELEASE_7} and later, {@code
+ * visitUnknown} is called instead.
*
* Methods in this class may be overridden subject to their
* general contract. Note that annotating methods in concrete
@@ -137,14 +140,21 @@ public class SimpleElementVisitor6 Methods in this class may be overridden subject to their
* general contract. Note that annotating methods in concrete
@@ -89,4 +90,16 @@ public class SimpleElementVisitor7 Methods in this class may be overridden subject to their
* general contract. Note that annotating methods in concrete
diff --git a/src/share/classes/javax/lang/model/util/SimpleTypeVisitor7.java b/src/share/classes/javax/lang/model/util/SimpleTypeVisitor7.java
index 48c87293ad8e527cc5973ceb2fed54cf93437ab0..af106e66118b1609b483726899f7572d8772b05c 100644
--- a/src/share/classes/javax/lang/model/util/SimpleTypeVisitor7.java
+++ b/src/share/classes/javax/lang/model/util/SimpleTypeVisitor7.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -34,9 +34,10 @@ import static javax.lang.model.SourceVersion.*;
* A simple visitor of types with default behavior appropriate for the
* {@link SourceVersion#RELEASE_7 RELEASE_7} source version.
*
- * Visit methods corresponding to {@code RELEASE_7} language
- * constructs call {@link #defaultAction}, passing their arguments to
- * {@code defaultAction}'s corresponding parameters.
+ * Visit methods corresponding to {@code RELEASE_7} and earlier
+ * language constructs call {@link #defaultAction defaultAction},
+ * passing their arguments to {@code defaultAction}'s corresponding
+ * parameters.
*
* Methods in this class may be overridden subject to their
* general contract. Note that annotating methods in concrete
@@ -88,4 +89,17 @@ public class SimpleTypeVisitor7