|
|
@ -21,6 +21,7 @@ package jode.expr; |
|
|
|
import jode.type.Type; |
|
|
|
import jode.type.Type; |
|
|
|
import jode.decompiler.LocalInfo; |
|
|
|
import jode.decompiler.LocalInfo; |
|
|
|
import jode.decompiler.TabbedPrintWriter; |
|
|
|
import jode.decompiler.TabbedPrintWriter; |
|
|
|
|
|
|
|
import jode.flow.VariableSet; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* This is a pseudo operator, which represents the check against null |
|
|
|
* This is a pseudo operator, which represents the check against null |
|
|
@ -68,6 +69,12 @@ public class CheckNullOperator extends Operator { |
|
|
|
local.remove(); |
|
|
|
local.remove(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void fillInGenSet(VariableSet in, VariableSet gen) { |
|
|
|
|
|
|
|
if (gen != null) |
|
|
|
|
|
|
|
gen.addElement(local); |
|
|
|
|
|
|
|
super.fillInGenSet(in, gen); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void dumpExpression(TabbedPrintWriter writer) |
|
|
|
public void dumpExpression(TabbedPrintWriter writer) |
|
|
|
throws java.io.IOException { |
|
|
|
throws java.io.IOException { |
|
|
|
writer.print("("+local.getName()+" = "); |
|
|
|
writer.print("("+local.getName()+" = "); |
|
|
|