Package | Description |
---|---|
com.github.javaparser.ast.expr | |
com.github.javaparser.ast.nodeTypes | |
com.github.javaparser.ast.stmt | |
com.github.javaparser.ast.visitor | |
com.github.javaparser.printer |
Modifier and Type | Method and Description |
---|---|
SwitchEntryStmt |
SwitchExpr.getEntry(int i) |
Modifier and Type | Method and Description |
---|---|
NodeList<SwitchEntryStmt> |
SwitchExpr.getEntries() |
Modifier and Type | Method and Description |
---|---|
SwitchExpr |
SwitchExpr.addEntry(SwitchEntryStmt entry)
Deprecated.
use a method on getEntries instead
|
SwitchExpr |
SwitchExpr.setEntry(int i,
SwitchEntryStmt entry)
Deprecated.
use a method on getEntries instead
|
Modifier and Type | Method and Description |
---|---|
SwitchExpr |
SwitchExpr.setEntries(NodeList<SwitchEntryStmt> entries) |
Constructor and Description |
---|
SwitchExpr(Expression selector,
NodeList<SwitchEntryStmt> entries) |
SwitchExpr(TokenRange tokenRange,
Expression selector,
NodeList<SwitchEntryStmt> entries)
This constructor is used by the parser and is considered private.
|
Modifier and Type | Method and Description |
---|---|
SwitchEntryStmt |
SwitchNode.getEntry(int i) |
Modifier and Type | Method and Description |
---|---|
NodeList<SwitchEntryStmt> |
SwitchNode.getEntries() |
Modifier and Type | Method and Description |
---|---|
SwitchNode |
SwitchNode.setEntries(NodeList<SwitchEntryStmt> entries) |
Modifier and Type | Method and Description |
---|---|
SwitchEntryStmt |
SwitchEntryStmt.asSwitchEntryStmt() |
SwitchEntryStmt |
Statement.asSwitchEntryStmt() |
SwitchEntryStmt |
SwitchEntryStmt.clone() |
SwitchEntryStmt |
SwitchStmt.getEntry(int i) |
SwitchEntryStmt |
SwitchEntryStmt.removeLabel() |
SwitchEntryStmt |
SwitchEntryStmt.setLabel(Expression label)
Sets the label
|
SwitchEntryStmt |
SwitchEntryStmt.setStatements(NodeList<Statement> statements) |
Modifier and Type | Method and Description |
---|---|
NodeList<SwitchEntryStmt> |
SwitchStmt.getEntries() |
Optional<SwitchEntryStmt> |
SwitchEntryStmt.toSwitchEntryStmt() |
Optional<SwitchEntryStmt> |
Statement.toSwitchEntryStmt() |
Modifier and Type | Method and Description |
---|---|
SwitchStmt |
SwitchStmt.addEntry(SwitchEntryStmt entry)
Deprecated.
use a method on getEntries instead
|
SwitchStmt |
SwitchStmt.setEntry(int i,
SwitchEntryStmt entry)
Deprecated.
use a method on getEntries instead
|
Modifier and Type | Method and Description |
---|---|
void |
SwitchEntryStmt.ifSwitchEntryStmt(Consumer<SwitchEntryStmt> action) |
void |
Statement.ifSwitchEntryStmt(Consumer<SwitchEntryStmt> action) |
SwitchStmt |
SwitchStmt.setEntries(NodeList<SwitchEntryStmt> entries) |
Constructor and Description |
---|
SwitchStmt(Expression selector,
NodeList<SwitchEntryStmt> entries) |
SwitchStmt(TokenRange tokenRange,
Expression selector,
NodeList<SwitchEntryStmt> entries)
This constructor is used by the parser and is considered private.
|
Modifier and Type | Method and Description |
---|---|
R |
GenericVisitorAdapter.visit(SwitchEntryStmt n,
A arg) |
void |
VoidVisitorWithDefaults.visit(SwitchEntryStmt n,
A arg) |
R |
GenericVisitor.visit(SwitchEntryStmt n,
A arg) |
List<R> |
GenericListVisitorAdapter.visit(SwitchEntryStmt n,
A arg) |
void |
VoidVisitor.visit(SwitchEntryStmt n,
A arg) |
R |
GenericVisitorWithDefaults.visit(SwitchEntryStmt n,
A arg) |
Visitable |
ModifierVisitor.visit(SwitchEntryStmt n,
A arg) |
void |
VoidVisitorAdapter.visit(SwitchEntryStmt n,
A arg) |
Visitable |
CloneVisitor.visit(SwitchEntryStmt n,
Object arg) |
Boolean |
EqualsVisitor.visit(SwitchEntryStmt n,
Visitable arg) |
Boolean |
ObjectIdentityEqualsVisitor.visit(SwitchEntryStmt n,
Visitable arg) |
Boolean |
NoCommentEqualsVisitor.visit(SwitchEntryStmt n,
Visitable arg) |
Integer |
ObjectIdentityHashCodeVisitor.visit(SwitchEntryStmt n,
Void arg) |
Integer |
NoCommentHashCodeVisitor.visit(SwitchEntryStmt n,
Void arg) |
Integer |
HashCodeVisitor.visit(SwitchEntryStmt n,
Void arg) |
Modifier and Type | Method and Description |
---|---|
void |
PrettyPrintVisitor.visit(SwitchEntryStmt n,
Void arg) |
Copyright © 2007–2019. All rights reserved.