58 * @param <P> the type of the additional parameter to this visitor's 59 * methods. Use {@code Void} for visitors that do not need an 60 * additional parameter. 61 * 62 * @see AbstractElementVisitor6 63 * @see AbstractElementVisitor7 64 * @see AbstractElementVisitor8 65 * @since 9 66 * @spec JPMS 67 */ 68 @SupportedSourceVersion(RELEASE_9) 69 public abstract class AbstractElementVisitor9<R, P> extends AbstractElementVisitor8<R, P> { 70 /** 71 * Constructor for concrete subclasses to call. 72 */ 73 protected AbstractElementVisitor9(){ 74 super(); 75 } 76 77 /** 78 * Visits a {@code ModuleElement} in a manner defined by a 79 * subclass. 80 * 81 * @param t {@inheritDoc} 82 * @param p {@inheritDoc} 83 * @return the result of the visit as defined by a subclass 84 */ 85 @Override 86 public abstract R visitModule(ModuleElement t, P p); 87 } | 58 * @param <P> the type of the additional parameter to this visitor's 59 * methods. Use {@code Void} for visitors that do not need an 60 * additional parameter. 61 * 62 * @see AbstractElementVisitor6 63 * @see AbstractElementVisitor7 64 * @see AbstractElementVisitor8 65 * @since 9 66 * @spec JPMS 67 */ 68 @SupportedSourceVersion(RELEASE_9) 69 public abstract class AbstractElementVisitor9<R, P> extends AbstractElementVisitor8<R, P> { 70 /** 71 * Constructor for concrete subclasses to call. 72 */ 73 protected AbstractElementVisitor9(){ 74 super(); 75 } 76 77 /** 78 * {@inheritDoc} 79 * 80 * @implSpec Visits a {@code ModuleElement} in a manner defined by a 81 * subclass. 82 * 83 * @param t {@inheritDoc} 84 * @param p {@inheritDoc} 85 * @return {@inheritDoc} 86 */ 87 @Override 88 public abstract R visitModule(ModuleElement t, P p); 89 } |