src/share/classes/javax/lang/model/util/AbstractTypeVisitor7.java
Print this page
*** 27,37 ****
import javax.lang.model.type.*;
/**
* A skeletal visitor of types with default behavior appropriate for
! * the version 7 language level.
*
* <p> <b>WARNING:</b> The {@code TypeVisitor} interface implemented
* by this class may have methods added to it in the future to
* accommodate new, currently unknown, language structures added to
* future versions of the Java™ programming language.
--- 27,37 ----
import javax.lang.model.type.*;
/**
* A skeletal visitor of types with default behavior appropriate for
! * the {@link SourceVersion#RELEASE_7 RELEASE_7} source version.
*
* <p> <b>WARNING:</b> The {@code TypeVisitor} interface implemented
* by this class may have methods added to it in the future to
* accommodate new, currently unknown, language structures added to
* future versions of the Java™ programming language.
*** 62,67 ****
--- 62,76 ----
* Constructor for concrete subclasses to call.
*/
protected AbstractTypeVisitor7() {
super();
}
+
+ /**
+ * Visits a {@code DisjunctiveType} in a manner defined by a subclass.
+ *
+ * @param t {@inheritDoc}
+ * @param p {@inheritDoc}
+ * @return the result of the visit as defined by a subclass
+ */
+ public abstract R visitDisjunctive(DisjunctiveType t, P p);
}