Class TryBlockExtension
java.lang.Object
org.emftext.language.java.extensions.statements.TryBlockExtension
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EList<CatchBlock>
getCatcheBlocks
(TryBlock block) Deprecated.Use getCatchBlocks().getStatements
(TryBlock block) Deprecated.Use getBlock().getStatements().
-
Constructor Details
-
TryBlockExtension
public TryBlockExtension()
-
-
Method Details
-
getCatcheBlocks
Deprecated.Use getCatchBlocks().Returns all CatchBlocks. This is a legacy method to provide a stable and backwards-compatible API.- Parameters:
block
- the TryBlock for which the CatchBlocks are returned.- Returns:
- the list of all CatchBlocks.
-
getStatements
Deprecated.Use getBlock().getStatements().Returns a list with all statements within the block of a try statement. This is a legacy method to provide a stable and backwards-compatible API.- Parameters:
block
- the try statement.- Returns:
- the list.
-