1.1 --- a/src/share/classes/javax/lang/model/util/AbstractTypeVisitor6.java Mon Jan 31 19:06:32 2011 -0800 1.2 +++ b/src/share/classes/javax/lang/model/util/AbstractTypeVisitor6.java Tue Feb 01 10:11:05 2011 -0800 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -29,7 +29,8 @@ 1.11 1.12 /** 1.13 * A skeletal visitor of types with default behavior appropriate for 1.14 - * the version 6 language level. 1.15 + * the {@link javax.lang.model.SourceVersion#RELEASE_6 RELEASE_6} 1.16 + * source version. 1.17 * 1.18 * <p> <b>WARNING:</b> The {@code TypeVisitor} interface implemented 1.19 * by this class may have methods added to it in the future to 1.20 @@ -95,6 +96,20 @@ 1.21 } 1.22 1.23 /** 1.24 + * Visits a {@code DisjunctiveType} element by calling {@code 1.25 + * visitUnknown}. 1.26 + 1.27 + * @param t {@inheritDoc} 1.28 + * @param p {@inheritDoc} 1.29 + * @return the result of {@code visitUnknown} 1.30 + * 1.31 + * @since 1.7 1.32 + */ 1.33 + public R visitDisjunctive(DisjunctiveType t, P p) { 1.34 + return visitUnknown(t, p); 1.35 + } 1.36 + 1.37 + /** 1.38 * {@inheritDoc} 1.39 * 1.40 * <p> The default implementation of this method in {@code