< prev index next >

src/jdk.compiler/share/classes/com/sun/source/util/DocTreeScanner.java

Print this page




 472      * @since 12
 473      */
 474     @Override
 475     public R visitSystemProperty(SystemPropertyTree node, P p) {
 476         return null;
 477     }
 478 
 479     /**
 480      * {@inheritDoc} This implementation returns {@code null}.
 481      *
 482      * @param node  {@inheritDoc}
 483      * @param p  {@inheritDoc}
 484      * @return the result of scanning
 485      */
 486     @Override
 487     public R visitText(TextTree node, P p) {
 488         return null;
 489     }
 490 
 491     /**












 492      * {@inheritDoc} This implementation scans the children in left to right order.
 493      *
 494      * @param node  {@inheritDoc}
 495      * @param p  {@inheritDoc}
 496      * @return the result of scanning
 497      */
 498     @Override
 499     public R visitThrows(ThrowsTree node, P p) {
 500         R r = scan(node.getExceptionName(), p);
 501         r = scanAndReduce(node.getDescription(), p, r);
 502         return r;
 503     }
 504 
 505     /**
 506      * {@inheritDoc} This implementation scans the children in left to right order.
 507      *
 508      * @param node  {@inheritDoc}
 509      * @param p  {@inheritDoc}
 510      * @return the result of scanning
 511      */




 472      * @since 12
 473      */
 474     @Override
 475     public R visitSystemProperty(SystemPropertyTree node, P p) {
 476         return null;
 477     }
 478 
 479     /**
 480      * {@inheritDoc} This implementation returns {@code null}.
 481      *
 482      * @param node  {@inheritDoc}
 483      * @param p  {@inheritDoc}
 484      * @return the result of scanning
 485      */
 486     @Override
 487     public R visitText(TextTree node, P p) {
 488         return null;
 489     }
 490 
 491     /**
 492      * {@inheritDoc} This implementation returns {@code null}.
 493      *
 494      * @param node  {@inheritDoc}
 495      * @param p  {@inheritDoc}
 496      * @return the result of scanning
 497      */
 498     @Override
 499     public R visitAccessor(AccessorTree node, P p) {
 500         return scan(node.getDescription(), p);
 501     }
 502 
 503     /**
 504      * {@inheritDoc} This implementation scans the children in left to right order.
 505      *
 506      * @param node  {@inheritDoc}
 507      * @param p  {@inheritDoc}
 508      * @return the result of scanning
 509      */
 510     @Override
 511     public R visitThrows(ThrowsTree node, P p) {
 512         R r = scan(node.getExceptionName(), p);
 513         r = scanAndReduce(node.getDescription(), p, r);
 514         return r;
 515     }
 516 
 517     /**
 518      * {@inheritDoc} This implementation scans the children in left to right order.
 519      *
 520      * @param node  {@inheritDoc}
 521      * @param p  {@inheritDoc}
 522      * @return the result of scanning
 523      */


< prev index next >