--- a/langtools/src/share/classes/javax/lang/model/util/TypeKindVisitor7.java Mon Jan 31 19:06:32 2011 -0800
+++ b/langtools/src/share/classes/javax/lang/model/util/TypeKindVisitor7.java Tue Feb 01 10:11:05 2011 -0800
@@ -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
@@ -92,4 +92,17 @@
protected TypeKindVisitor7(R defaultValue) {
super(defaultValue);
}
+
+ /**
+ * This implementation visits a {@code DisjunctiveType} by calling
+ * {@code defaultAction}.
+ *
+ * @param t {@inheritDoc}
+ * @param p {@inheritDoc}
+ * @return the result of {@code defaultAction}
+ */
+ @Override
+ public R visitDisjunctive(DisjunctiveType t, P p) {
+ return defaultAction(t, p);
+ }
}