import jetbrains.mps.smodel.SNodeId;
public class NoAssignmentsToNonFinalVariablesOutsideTheScope_NonTypesystemRule extends AbstractNonTypesystemRule_Runtime implements NonTypesystemRule_Runtime {
public NoAssignmentsToNonFinalVariablesOutsideTheScope_NonTypesystemRule() {
}
public void applyRule(final SNode variableReference, final TypeCheckingContext typeCheckingContext, IsApplicableStatus status) {
<BUG>if (SNodeOperations.getAncestor(variableReference, "org.jetbrains.mps.samples.ParallelFor.structure.ParallelFor", false, false) != null) {

if (!(SPropertyOperations.getBoolean(SLinkOperations.getTarget(variableReference, "variableDeclaration", false), "isFinal"))) {</BUG>
{
MessageTarget errorTarget = new NodeMessageTarget();

import jetbrains.mps.smodel.SNodeId;
public class NoAssignmentsToNonFinalVariablesOutsideTheScope_NonTypesystemRule extends AbstractNonTypesystemRule_Runtime implements NonTypesystemRule_Runtime {
public NoAssignmentsToNonFinalVariablesOutsideTheScope_NonTypesystemRule() {
}
public void applyRule(final SNode variableReference, final TypeCheckingContext typeCheckingContext, IsApplicableStatus status) {
SNode directAncestor = SNodeOperations.getAncestor(variableReference, "org.jetbrains.mps.samples.ParallelFor.structure.ParallelFor", false, false);
if (directAncestor != null) {
SNode declarationsAncestor = SNodeOperations.getAncestor(SLinkOperations.getTarget(variableReference, "variableDeclaration", false), "org.jetbrains.mps.samples.ParallelFor.structure.ParallelFor", false, false);
if (directAncestor != declarationsAncestor) {
if (!(SPropertyOperations.getBoolean(SLinkOperations.getTarget(variableReference, "variableDeclaration", false), "isFinal"))) {
{
MessageTarget errorTarget = new NodeMessageTarget();
