org.eclipse.gmt.modisco.java
Interface TryStatement

All Superinterfaces:
ASTNode, Statement

public interface TryStatement
extends Statement

A representation of the model object 'Try Statement'.

The following features are supported:

See Also:
JavaPackage.getTryStatement()
Generated:
Model:

Method Summary
 Block getBody()
          Returns the value of the 'Body' containment reference.
  getCatchClauses()
          Returns the value of the 'Catch Clauses' containment reference list.
 Block getFinally()
          Returns the value of the 'Finally' containment reference.
 void setBody(Block value)
          Sets the value of the 'Body' containment reference.
 void setFinally(Block value)
          Sets the value of the 'Finally' containment reference.
 
Methods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnit
 

Method Detail

getBody

Block getBody()
Returns the value of the 'Body' containment reference.

If the meaning of the 'Body' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Body' containment reference.
See Also:
setBody(Block), JavaPackage.getTryStatement_Body()
Generated:
Model:
containment="true" required="true" ordered="false"

setBody

void setBody(Block value)
Sets the value of the 'Body' containment reference.

Parameters:
value - the new value of the 'Body' containment reference.
See Also:
getBody()
Generated:

getFinally

Block getFinally()
Returns the value of the 'Finally' containment reference.

If the meaning of the 'Finally' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Finally' containment reference.
See Also:
setFinally(Block), JavaPackage.getTryStatement_Finally()
Generated:
Model:
containment="true" ordered="false"

setFinally

void setFinally(Block value)
Sets the value of the 'Finally' containment reference.

Parameters:
value - the new value of the 'Finally' containment reference.
See Also:
getFinally()
Generated:

getCatchClauses

 getCatchClauses()
Returns the value of the 'Catch Clauses' containment reference list. The list contents are of type CatchClause.

If the meaning of the 'Catch Clauses' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Catch Clauses' containment reference list.
See Also:
JavaPackage.getTryStatement_CatchClauses()
Generated:
Model:
containment="true"