Package org.apache.commons.jexl3.parser
Class ASTSwitchStatement.Helper
- java.lang.Object
-
- org.apache.commons.jexl3.parser.ASTSwitchStatement.Helper
-
- Enclosing class:
- ASTSwitchStatement
public static class ASTSwitchStatement.Helper extends java.lang.ObjectHelper for switch statements.It detects duplicates cases and default.
-
-
Field Summary
Fields Modifier and Type Field Description private booleandefaultDefinedprivate java.util.Map<java.lang.Object,java.lang.Integer>dispatchprivate intswitchIndex
-
Constructor Summary
Constructors Constructor Description Helper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voiddefineCase(JexlParser.SwitchSet switchSet)(package private) voiddefineSwitch(ASTSwitchStatement statement)
-
-
-
Method Detail
-
defineCase
void defineCase(JexlParser.SwitchSet switchSet) throws ParseException
- Throws:
ParseException
-
defineSwitch
void defineSwitch(ASTSwitchStatement statement)
-
-