Uses of Class
com.github.javaparser.ast.stmt.SwitchEntry
-
Packages that use SwitchEntry Package Description com.github.javaparser com.github.javaparser.ast.expr com.github.javaparser.ast.nodeTypes com.github.javaparser.ast.stmt com.github.javaparser.ast.visitor com.github.javaparser.printer com.github.javaparser.symbolsolver.javaparsermodel Implementation of model based on JavaParser.com.github.javaparser.symbolsolver.javaparsermodel.contexts -
-
Uses of SwitchEntry in com.github.javaparser
Methods in com.github.javaparser that return SwitchEntry Modifier and Type Method Description SwitchEntry
GeneratedJavaParser. SwitchEntry()
Note that theSwitchBlock
(JLS) andSwitchEntry
(JavaParser) are equivlent. -
Uses of SwitchEntry in com.github.javaparser.ast.expr
Fields in com.github.javaparser.ast.expr with type parameters of type SwitchEntry Modifier and Type Field Description private NodeList<SwitchEntry>
SwitchExpr. entries
Methods in com.github.javaparser.ast.expr that return SwitchEntry Modifier and Type Method Description SwitchEntry
SwitchExpr. getEntry(int i)
Methods in com.github.javaparser.ast.expr that return types with arguments of type SwitchEntry Modifier and Type Method Description NodeList<SwitchEntry>
SwitchExpr. getEntries()
Method parameters in com.github.javaparser.ast.expr with type arguments of type SwitchEntry Modifier and Type Method Description SwitchExpr
SwitchExpr. setEntries(NodeList<SwitchEntry> entries)
Constructor parameters in com.github.javaparser.ast.expr with type arguments of type SwitchEntry Constructor Description SwitchExpr(Expression selector, NodeList<SwitchEntry> entries)
SwitchExpr(TokenRange tokenRange, Expression selector, NodeList<SwitchEntry> entries)
This constructor is used by the parser and is considered private. -
Uses of SwitchEntry in com.github.javaparser.ast.nodeTypes
Methods in com.github.javaparser.ast.nodeTypes that return SwitchEntry Modifier and Type Method Description SwitchEntry
SwitchNode. getEntry(int i)
Methods in com.github.javaparser.ast.nodeTypes that return types with arguments of type SwitchEntry Modifier and Type Method Description NodeList<SwitchEntry>
SwitchNode. getEntries()
Method parameters in com.github.javaparser.ast.nodeTypes with type arguments of type SwitchEntry Modifier and Type Method Description SwitchNode
SwitchNode. setEntries(NodeList<SwitchEntry> entries)
-
Uses of SwitchEntry in com.github.javaparser.ast.stmt
Fields in com.github.javaparser.ast.stmt with type parameters of type SwitchEntry Modifier and Type Field Description private NodeList<SwitchEntry>
SwitchStmt. entries
Methods in com.github.javaparser.ast.stmt that return SwitchEntry Modifier and Type Method Description SwitchEntry
SwitchEntry. clone()
SwitchEntry
SwitchStmt. getEntry(int i)
SwitchEntry
SwitchEntry. removeGuard()
SwitchEntry
SwitchEntry. setDefault(boolean isDefault)
SwitchEntry
SwitchEntry. setGuard(Expression guard)
SwitchEntry
SwitchEntry. setLabels(NodeList<Expression> labels)
Sets the labelSwitchEntry
SwitchEntry. setStatements(NodeList<Statement> statements)
SwitchEntry
SwitchEntry. setType(SwitchEntry.Type type)
Methods in com.github.javaparser.ast.stmt that return types with arguments of type SwitchEntry Modifier and Type Method Description NodeList<SwitchEntry>
SwitchStmt. getEntries()
Method parameters in com.github.javaparser.ast.stmt with type arguments of type SwitchEntry Modifier and Type Method Description SwitchStmt
SwitchStmt. setEntries(NodeList<SwitchEntry> entries)
Constructor parameters in com.github.javaparser.ast.stmt with type arguments of type SwitchEntry Constructor Description SwitchStmt(Expression selector, NodeList<SwitchEntry> entries)
SwitchStmt(TokenRange tokenRange, Expression selector, NodeList<SwitchEntry> entries)
This constructor is used by the parser and is considered private. -
Uses of SwitchEntry in com.github.javaparser.ast.visitor
Methods in com.github.javaparser.ast.visitor with parameters of type SwitchEntry Modifier and Type Method Description Visitable
CloneVisitor. visit(SwitchEntry n, java.lang.Object arg)
java.lang.Boolean
EqualsVisitor. visit(SwitchEntry n, Visitable arg)
java.util.List<R>
GenericListVisitorAdapter. visit(SwitchEntry n, A arg)
R
GenericVisitor. visit(SwitchEntry n, A arg)
R
GenericVisitorAdapter. visit(SwitchEntry n, A arg)
R
GenericVisitorWithDefaults. visit(SwitchEntry n, A arg)
java.lang.Integer
HashCodeVisitor. visit(SwitchEntry n, java.lang.Void arg)
Visitable
ModifierVisitor. visit(SwitchEntry n, A arg)
java.lang.Boolean
NoCommentEqualsVisitor. visit(SwitchEntry n, Visitable arg)
java.lang.Integer
NoCommentHashCodeVisitor. visit(SwitchEntry n, java.lang.Void arg)
void
NodeFinderVisitor. visit(SwitchEntry n, Range arg)
java.lang.Boolean
ObjectIdentityEqualsVisitor. visit(SwitchEntry n, Visitable arg)
java.lang.Integer
ObjectIdentityHashCodeVisitor. visit(SwitchEntry n, java.lang.Void arg)
void
VoidVisitor. visit(SwitchEntry n, A arg)
void
VoidVisitorAdapter. visit(SwitchEntry n, A arg)
void
VoidVisitorWithDefaults. visit(SwitchEntry n, A arg)
-
Uses of SwitchEntry in com.github.javaparser.printer
Methods in com.github.javaparser.printer with parameters of type SwitchEntry Modifier and Type Method Description void
DefaultPrettyPrinterVisitor. visit(SwitchEntry n, java.lang.Void arg)
void
PrettyPrintVisitor. visit(SwitchEntry n, java.lang.Void arg)
Deprecated. -
Uses of SwitchEntry in com.github.javaparser.symbolsolver.javaparsermodel
Methods in com.github.javaparser.symbolsolver.javaparsermodel with parameters of type SwitchEntry Modifier and Type Method Description private boolean
NormalCompletionVisitor. switchRuleCompletesNormally(SwitchEntry switchEntry, java.lang.Void unused)
A switch statement whose switch block consists of switch rules can complete normally iff at least one of the following is true: - One of the switch rules introduces a switch rule expression (which is necessarily a statement expression).ResolvedType
DefaultVisitorAdapter. visit(SwitchEntry node, java.lang.Boolean aBoolean)
-
Uses of SwitchEntry in com.github.javaparser.symbolsolver.javaparsermodel.contexts
Constructors in com.github.javaparser.symbolsolver.javaparsermodel.contexts with parameters of type SwitchEntry Constructor Description SwitchEntryContext(SwitchEntry wrappedNode, TypeSolver typeSolver)
-