Class TryCatchStatement
- java.lang.Object
-
- com.google.api.generator.engine.ast.TryCatchStatement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTryCatchStatement.Builder
-
Constructor Summary
Constructors Constructor Description TryCatchStatement()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaccept(AstNodeVisitor visitor)Writes the syntatically-correct Java code representation of this node.static TryCatchStatement.Builderbuilder()abstract List<List<Statement>>catchBlocks()abstract List<VariableExpr>catchVariableExprs()abstract booleanisSampleCode()abstract com.google.common.collect.ImmutableList<Statement>tryBody()abstract AssignmentExprtryResourceExpr()
-
-
-
Method Detail
-
tryBody
public abstract com.google.common.collect.ImmutableList<Statement> tryBody()
-
catchVariableExprs
public abstract List<VariableExpr> catchVariableExprs()
-
tryResourceExpr
@Nullable public abstract AssignmentExpr tryResourceExpr()
-
isSampleCode
public abstract boolean isSampleCode()
-
accept
public void accept(AstNodeVisitor visitor)
Description copied from interface:AstNodeWrites the syntatically-correct Java code representation of this node.
-
builder
public static TryCatchStatement.Builder builder()
-
-