CreateCheckNull added

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@223 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent b96fc588bd
commit af4d434563
  1. 5
      jode/jode/flow/IfThenElseBlock.java
  2. 3
      jode/jode/flow/InstructionContainer.java

@ -150,4 +150,9 @@ public class IfThenElseBlock extends StructuredBlock {
&& elseBlock != null
&& (elseBlock.jump != null || elseBlock.jumpMayBeChanged());
}
public boolean doTransformations() {
StructuredBlock last = flowBlock.lastModified;
return CreateCheckNull.transformJikes(this, last);
}
}

@ -63,7 +63,8 @@ public abstract class InstructionContainer extends StructuredBlock {
|| CreatePrePostIncExpression.transform(this, last)
|| CreateAssignExpression.transform(this, last)
|| CreateIfThenElseOperator.create(this, last)
|| CreateConstantArray.transform(this, last);
|| CreateConstantArray.transform(this, last)
|| CreateCheckNull.transformJavac(this, last);
}
/**

Loading…
Cancel
Save