Class StatementListContainerExtension
- java.lang.Object
-
- org.emftext.language.java.extensions.statements.StatementListContainerExtension
-
public class StatementListContainerExtension extends Object
-
-
Constructor Summary
Constructors Constructor Description StatementListContainerExtension()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LocalVariable
getLocalVariable(StatementListContainer me, String name)
Returns the first local variable in the givenStatementListContainer
with the specified name.
-
-
-
Method Detail
-
getLocalVariable
public static LocalVariable getLocalVariable(StatementListContainer me, String name)
Returns the first local variable in the givenStatementListContainer
with the specified name.- Parameters:
me
- theStatementListContainer
to search inname
- the name of the variable to search for- Returns:
- a local variable with the given name or
null
if no such variable was found
-
-