Class StatementListContainerExtension

java.lang.Object
tools.mdsd.jamopp.model.java.extensions.statements.StatementListContainerExtension

public final class StatementListContainerExtension extends Object
  • Method Details

    • getLocalVariable

      public static LocalVariable getLocalVariable(StatementListContainer statementListContainer, String name)
      Returns the first local variable in the given StatementListContainer with the specified name.
      Parameters:
      statementListContainer - the StatementListContainer to search in
      name - the name of the variable to search for
      Returns:
      a local variable with the given name or null if no such variable was found