|
|
@ -23,9 +23,9 @@ import jode.GlobalOptions; |
|
|
|
import jode.decompiler.TabbedPrintWriter; |
|
|
|
import jode.decompiler.TabbedPrintWriter; |
|
|
|
|
|
|
|
|
|
|
|
///#ifdef JDK12
|
|
|
|
///#ifdef JDK12
|
|
|
|
///import java.util.Set;
|
|
|
|
///import java.util.Collection;
|
|
|
|
///#else
|
|
|
|
///#else
|
|
|
|
import jode.util.Set; |
|
|
|
import jode.util.Collection; |
|
|
|
///#endif
|
|
|
|
///#endif
|
|
|
|
|
|
|
|
|
|
|
|
public abstract class Operator extends Expression { |
|
|
|
public abstract class Operator extends Expression { |
|
|
@ -163,7 +163,7 @@ public abstract class Operator extends Expression { |
|
|
|
return this; |
|
|
|
return this; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void fillInGenSet(Set in, Set gen) { |
|
|
|
public void fillInGenSet(Collection in, Collection gen) { |
|
|
|
if (this instanceof LocalVarOperator) { |
|
|
|
if (this instanceof LocalVarOperator) { |
|
|
|
LocalVarOperator varOp = (LocalVarOperator) this; |
|
|
|
LocalVarOperator varOp = (LocalVarOperator) this; |
|
|
|
if (varOp.isRead() && in != null) |
|
|
|
if (varOp.isRead() && in != null) |
|
|
@ -175,7 +175,7 @@ public abstract class Operator extends Expression { |
|
|
|
subExpressions[i].fillInGenSet(in,gen); |
|
|
|
subExpressions[i].fillInGenSet(in,gen); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void fillDeclarables(Set used) { |
|
|
|
public void fillDeclarables(Collection used) { |
|
|
|
if (this instanceof LocalVarOperator) { |
|
|
|
if (this instanceof LocalVarOperator) { |
|
|
|
used.add(((LocalVarOperator) this).getLocalInfo()); |
|
|
|
used.add(((LocalVarOperator) this).getLocalInfo()); |
|
|
|
} |
|
|
|
} |
|
|
|