Class SwitchExpressionScanner.YieldVisitor

java.lang.Object
com.sun.source.util.TreeScanner<@Nullable R,P>
org.checkerframework.javacutil.SwitchExpressionScanner.YieldVisitor
All Implemented Interfaces:
TreeVisitor<R,P>
Enclosing class:
SwitchExpressionScanner<R,P>

protected class SwitchExpressionScanner.YieldVisitor extends TreeScanner<@Nullable R,P>
A scanner that visits all the yield trees in a given tree and calls SwitchExpressionScanner.visitSwitchResultExpression(ExpressionTree, Object) on the expression in the yield trees. It does not descend into switch expressions.