Class SwitchExprValidator
- java.lang.Object
-
- com.github.javaparser.ast.validator.language_level_validations.chunks.SwitchExprValidator
-
- All Implemented Interfaces:
TypedValidator<SwitchExpr>,java.util.function.BiConsumer<SwitchExpr,ProblemReporter>
public class SwitchExprValidator extends java.lang.Object implements TypedValidator<SwitchExpr>
-
-
Constructor Summary
Constructors Constructor Description SwitchExprValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(SwitchExpr node, ProblemReporter reporter)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.javaparser.ast.validator.TypedValidator
processor
-
-
-
-
Method Detail
-
accept
public void accept(SwitchExpr node, ProblemReporter reporter)
- Specified by:
acceptin interfacejava.util.function.BiConsumer<SwitchExpr,ProblemReporter>- Specified by:
acceptin interfaceTypedValidator<SwitchExpr>- Parameters:
node- the node that wants to be validatedreporter- when found, validation errors can be reported here
-
-