diff --git a/jode/jode/flow/IfThenElseBlock.java b/jode/jode/flow/IfThenElseBlock.java index a38d328..8e5e693 100644 --- a/jode/jode/flow/IfThenElseBlock.java +++ b/jode/jode/flow/IfThenElseBlock.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); + } } diff --git a/jode/jode/flow/InstructionContainer.java b/jode/jode/flow/InstructionContainer.java index a355cd5..911ac02 100644 --- a/jode/jode/flow/InstructionContainer.java +++ b/jode/jode/flow/InstructionContainer.java @@ -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); } /**