Uses of Enum
com.github.javaparser.ast.stmt.SwitchEntry.Type
Packages that use SwitchEntry.Type
-
Uses of SwitchEntry.Type in com.github.javaparser.ast.stmt
Fields in com.github.javaparser.ast.stmt declared as SwitchEntry.TypeMethods in com.github.javaparser.ast.stmt that return SwitchEntry.TypeModifier and TypeMethodDescriptionSwitchEntry.getType()
static SwitchEntry.Type
Returns the enum constant of this type with the specified name.static SwitchEntry.Type[]
SwitchEntry.Type.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.github.javaparser.ast.stmt with parameters of type SwitchEntry.TypeConstructors in com.github.javaparser.ast.stmt with parameters of type SwitchEntry.TypeModifierConstructorDescriptionSwitchEntry
(NodeList<Expression> labels, SwitchEntry.Type type, NodeList<Statement> statements) This constructor exists for backwards compatibility for code that instantiated `SwitchEntries` before the `isDefault` and guard fields were added.SwitchEntry
(NodeList<Expression> labels, SwitchEntry.Type type, NodeList<Statement> statements, boolean isDefault) SwitchEntry
(TokenRange tokenRange, NodeList<Expression> labels, SwitchEntry.Type type, NodeList<Statement> statements) This constructor exists for backwards compatibility for code that instantiated `SwitchEntries` before the `isDefault` and guard fields were added.SwitchEntry
(TokenRange tokenRange, NodeList<Expression> labels, SwitchEntry.Type type, NodeList<Statement> statements, boolean isDefault) This constructor is used by the parser and is considered private.SwitchEntry
(TokenRange tokenRange, NodeList<Expression> labels, SwitchEntry.Type type, NodeList<Statement> statements, boolean isDefault, Expression guard) This constructor is used by the parser and is considered private.