| Modifier and Type | Class and Description |
|---|---|
static class |
TryCatchStatement.Builder |
| Constructor and Description |
|---|
TryCatchStatement() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AstNodeVisitor visitor)
Writes the syntatically-correct Java code representation of this node.
|
static TryCatchStatement.Builder |
builder() |
abstract List<List<Statement>> |
catchBlocks() |
abstract List<VariableExpr> |
catchVariableExprs() |
abstract boolean |
isSampleCode() |
abstract com.google.common.collect.ImmutableList<Statement> |
tryBody() |
abstract AssignmentExpr |
tryResourceExpr() |
public abstract com.google.common.collect.ImmutableList<Statement> tryBody()
public abstract List<VariableExpr> catchVariableExprs()
@Nullable public abstract AssignmentExpr tryResourceExpr()
public abstract boolean isSampleCode()
public void accept(AstNodeVisitor visitor)
AstNodepublic static TryCatchStatement.Builder builder()
Copyright © 2022 Google LLC. All rights reserved.