Class SwitchExpressionScanner.FunctionalSwitchExpressionScanner<R1,P1>

java.lang.Object
com.sun.source.util.TreeScanner<R,P>
org.checkerframework.javacutil.SwitchExpressionScanner<R1,P1>
org.checkerframework.javacutil.SwitchExpressionScanner.FunctionalSwitchExpressionScanner<R1,P1>
Type Parameters:
R1 - the type result of visitSwitchResultExpression(ExpressionTree, Object)
P1 - the type of the parameter to pass to visitSwitchResultExpression(ExpressionTree, Object)
All Implemented Interfaces:
TreeVisitor<R1,P1>
Enclosing class:
SwitchExpressionScanner<R,P>

public static class SwitchExpressionScanner.FunctionalSwitchExpressionScanner<R1,P1> extends SwitchExpressionScanner<R1,P1>
An implementation of SwitchExpressionScanner that uses functions passed to the constructor for visitSwitchResultExpression(ExpressionTree, Object) and combineResults(Object, Object).