Modifier and Type | Field and Description |
---|---|
static ParseStart<BlockStmt> |
ParseStart.BLOCK |
Modifier and Type | Method and Description |
---|---|
static BlockStmt |
JavaParser.parseBlock(String blockStatement)
|
Modifier and Type | Method and Description |
---|---|
BlockStmt |
ConstructorDeclaration.getBody() |
BlockStmt |
InitializerDeclaration.getBody() |
Modifier and Type | Method and Description |
---|---|
Optional<BlockStmt> |
MethodDeclaration.getBody() |
Modifier and Type | Method and Description |
---|---|
ConstructorDeclaration |
ConstructorDeclaration.setBody(BlockStmt body) |
MethodDeclaration |
MethodDeclaration.setBody(BlockStmt body)
Sets the body
|
InitializerDeclaration |
InitializerDeclaration.setBody(BlockStmt body) |
Modifier and Type | Method and Description |
---|---|
default BlockStmt |
NodeWithMembers.addInitializer() |
default BlockStmt |
NodeWithMembers.addStaticInitializer() |
default BlockStmt |
NodeWithBody.createBlockStatementAsBody() |
default BlockStmt |
NodeWithBlockStmt.createBody() |
default BlockStmt |
NodeWithOptionalBlockStmt.createBody() |
BlockStmt |
NodeWithBlockStmt.getBody() |
Modifier and Type | Method and Description |
---|---|
Optional<BlockStmt> |
NodeWithOptionalBlockStmt.getBody() |
Modifier and Type | Method and Description |
---|---|
N |
NodeWithBlockStmt.setBody(BlockStmt block) |
N |
NodeWithOptionalBlockStmt.setBody(BlockStmt block) |
Modifier and Type | Method and Description |
---|---|
BlockStmt |
SynchronizedStmt.getBody() |
BlockStmt |
CatchClause.getBody() |
BlockStmt |
BlockStmt.setStatements(NodeList<Statement> statements) |
Modifier and Type | Method and Description |
---|---|
Optional<BlockStmt> |
TryStmt.getFinallyBlock() |
Optional<BlockStmt> |
TryStmt.getTryBlock() |
Modifier and Type | Method and Description |
---|---|
SynchronizedStmt |
SynchronizedStmt.setBody(BlockStmt body) |
CatchClause |
CatchClause.setBody(BlockStmt block) |
TryStmt |
TryStmt.setFinallyBlock(BlockStmt finallyBlock) |
TryStmt |
TryStmt.setTryBlock(BlockStmt tryBlock) |
Constructor and Description |
---|
CatchClause(EnumSet<Modifier> exceptModifier,
NodeList<AnnotationExpr> exceptAnnotations,
ClassOrInterfaceType exceptType,
SimpleName exceptName,
BlockStmt body) |
CatchClause(Parameter parameter,
BlockStmt body) |
CatchClause(Range range,
Parameter parameter,
BlockStmt body) |
ForeachStmt(VariableDeclarationExpr variable,
String iterable,
BlockStmt body) |
SynchronizedStmt(Expression expression,
BlockStmt body) |
SynchronizedStmt(Range range,
Expression expression,
BlockStmt body) |
TryStmt(BlockStmt tryBlock,
NodeList<CatchClause> catchClauses,
BlockStmt finallyBlock) |
TryStmt(Range range,
NodeList<VariableDeclarationExpr> resources,
BlockStmt tryBlock,
NodeList<CatchClause> catchClauses,
BlockStmt finallyBlock) |
Modifier and Type | Method and Description |
---|---|
R |
GenericVisitor.visit(BlockStmt n,
A arg) |
Visitable |
ModifierVisitor.visit(BlockStmt n,
A arg) |
void |
VoidVisitor.visit(BlockStmt n,
A arg) |
void |
VoidVisitorAdapter.visit(BlockStmt n,
A arg) |
R |
GenericVisitorAdapter.visit(BlockStmt n,
A arg) |
Visitable |
CloneVisitor.visit(BlockStmt _n,
Object _arg) |
Boolean |
EqualsVisitor.visit(BlockStmt n1,
Visitable arg) |
Modifier and Type | Method and Description |
---|---|
void |
PrettyPrintVisitor.visit(BlockStmt n,
Void arg) |
Copyright © 2007–2016. All rights reserved.