Modifier and Type | Method and Description |
---|---|
Catch |
addThrowable(Type type,
String name)
Adds a formal parameter to this catch clause.
|
FormalParameter |
getThrowable()
Gets the formal parameter for this catch clause. if more than one formal
parameter has been declared, only the first one is returned.
|
List<FormalParameter> |
getThrowables()
Returns an immutable list containing the formal parameters of this catch
clause.
|
Catch |
setThrowable(Type type,
String name)
Sets the formal parameter for this catch clause.
|
getStatements, insertStatement, insertStatement, newBreak, newContinue, newDeclarationLet, newDoWhile, newEmpty, newFor, newIf, newLet, newLocalBlock, newLocalClass, newLocalClass, newReturn, newStmt, newSwitch, newSynchronized, newThrow, newTry, newWhile, removeStmt
applyStyle, cast, getComment, isActive, isBlockWithAbruptCompletion, setComment, toCode, visit, vm
FormalParameter getThrowable()
Catch setThrowable(Type type, String name)
List<FormalParameter> getThrowables()
Copyright © 2000–2018 jenesis4java. All rights reserved.