langtools/src/java.compiler/share/classes/javax/lang/model/element/ModuleElement.java
changeset 44179 4fa9641810db
parent 44062 9a579f258574
child 44809 931f88b3014d
equal deleted inserted replaced
44066:336ca6c49e10 44179:4fa9641810db
   249          * This can occur if the language evolves and new kinds of directive are added.
   249          * This can occur if the language evolves and new kinds of directive are added.
   250          * @param d  the directive to visit
   250          * @param d  the directive to visit
   251          * @param p  a visitor-specified parameter
   251          * @param p  a visitor-specified parameter
   252          * @return a visitor-specified result
   252          * @return a visitor-specified result
   253          * @throws UnknownDirectiveException a visitor implementation may optionally throw this exception
   253          * @throws UnknownDirectiveException a visitor implementation may optionally throw this exception
   254          * @implSpec This implementation throws {@code UnknownDirectiveException}.
   254          * @implSpec This implementation throws {@code new UnknownDirectiveException(d, p)}.
   255          */
   255          */
   256         default R visitUnknown(Directive d, P p) {
   256         default R visitUnknown(Directive d, P p) {
   257             throw new UnknownDirectiveException(d, p);
   257             throw new UnknownDirectiveException(d, p);
   258         }
   258         }
   259     }
   259     }