< prev index next >

src/java.compiler/share/classes/javax/lang/model/util/AbstractTypeVisitor8.java

Print this page




  71  * @see AbstractTypeVisitor7
  72  * @see AbstractTypeVisitor9
  73  * @since 1.8
  74  */
  75 @SupportedSourceVersion(RELEASE_8)
  76 public abstract class AbstractTypeVisitor8<R, P> extends AbstractTypeVisitor7<R, P> {
  77     /**
  78      * Constructor for concrete subclasses to call.
  79      */
  80     protected AbstractTypeVisitor8() {
  81         super();
  82     }
  83 
  84     /**
  85      * Visits an {@code IntersectionType} in a manner defined by a subclass.
  86      *
  87      * @param t  {@inheritDoc}
  88      * @param p  {@inheritDoc}
  89      * @return the result of the visit as defined by a subclass
  90      */

  91     public abstract R visitIntersection(IntersectionType t, P p);
  92 }


  71  * @see AbstractTypeVisitor7
  72  * @see AbstractTypeVisitor9
  73  * @since 1.8
  74  */
  75 @SupportedSourceVersion(RELEASE_8)
  76 public abstract class AbstractTypeVisitor8<R, P> extends AbstractTypeVisitor7<R, P> {
  77     /**
  78      * Constructor for concrete subclasses to call.
  79      */
  80     protected AbstractTypeVisitor8() {
  81         super();
  82     }
  83 
  84     /**
  85      * Visits an {@code IntersectionType} in a manner defined by a subclass.
  86      *
  87      * @param t  {@inheritDoc}
  88      * @param p  {@inheritDoc}
  89      * @return the result of the visit as defined by a subclass
  90      */
  91     @Override
  92     public abstract R visitIntersection(IntersectionType t, P p);
  93 }
< prev index next >