public final class TryStatement extends StatementBase
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor visitor)
Accept the visitor and allow it to perform actions on this Node.
|
Pair<Variable,BlockStatement> |
addCatch(Type type,
String ident)
Add a new Catch block to this try statement.
|
BlockStatement |
bodyPart() |
Map<Type,Pair<Variable,BlockStatement>> |
catches() |
BlockStatement |
finalPart() |
copy, copy, getAncestor, id, parent, parent, postCopy, preCopy, toStringattributes, get, setclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopy, copy, getAncestor, id, parent, parentattributes, get, setpublic BlockStatement bodyPart()
public BlockStatement finalPart()
public Map<Type,Pair<Variable,BlockStatement>> catches()
public Pair<Variable,BlockStatement> addCatch(Type type, String ident)
Copyright © 2017 Oracle. All rights reserved.