Package | Description |
---|---|
com.github.javaparser.ast.stmt | |
com.github.javaparser.ast.visitor | |
com.github.javaparser.printer |
Modifier and Type | Method and Description |
---|---|
AssertStmt |
Statement.asAssertStmt() |
AssertStmt |
AssertStmt.asAssertStmt() |
AssertStmt |
AssertStmt.clone() |
AssertStmt |
AssertStmt.removeMessage() |
AssertStmt |
AssertStmt.setCheck(Expression check) |
AssertStmt |
AssertStmt.setMessage(Expression message)
Sets the message
|
Modifier and Type | Method and Description |
---|---|
Optional<AssertStmt> |
Statement.toAssertStmt() |
Optional<AssertStmt> |
AssertStmt.toAssertStmt() |
Modifier and Type | Method and Description |
---|---|
void |
Statement.ifAssertStmt(Consumer<AssertStmt> action) |
void |
AssertStmt.ifAssertStmt(Consumer<AssertStmt> action) |
Modifier and Type | Method and Description |
---|---|
void |
VoidVisitorWithDefaults.visit(AssertStmt n,
A arg) |
void |
VoidVisitorAdapter.visit(AssertStmt n,
A arg) |
void |
VoidVisitor.visit(AssertStmt n,
A arg) |
Visitable |
ModifierVisitor.visit(AssertStmt n,
A arg) |
R |
GenericVisitorWithDefaults.visit(AssertStmt n,
A arg) |
R |
GenericVisitorAdapter.visit(AssertStmt n,
A arg) |
R |
GenericVisitor.visit(AssertStmt n,
A arg) |
List<R> |
GenericListVisitorAdapter.visit(AssertStmt n,
A arg) |
Visitable |
CloneVisitor.visit(AssertStmt n,
Object arg) |
void |
NodeFinderVisitor.visit(AssertStmt n,
Range arg) |
Boolean |
ObjectIdentityEqualsVisitor.visit(AssertStmt n,
Visitable arg) |
Boolean |
NoCommentEqualsVisitor.visit(AssertStmt n,
Visitable arg) |
Boolean |
EqualsVisitor.visit(AssertStmt n,
Visitable arg) |
Integer |
ObjectIdentityHashCodeVisitor.visit(AssertStmt n,
Void arg) |
Integer |
NoCommentHashCodeVisitor.visit(AssertStmt n,
Void arg) |
Integer |
HashCodeVisitor.visit(AssertStmt n,
Void arg) |
Modifier and Type | Method and Description |
---|---|
void |
PrettyPrintVisitor.visit(AssertStmt n,
Void arg)
Deprecated.
|
void |
DefaultPrettyPrinterVisitor.visit(AssertStmt n,
Void arg) |
Copyright © 2007–2024. All rights reserved.