soot.robovm.RoboVmNopStmt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of robovm-soot Show documentation
Show all versions of robovm-soot Show documentation
RoboVM fork of Soot - A Java optimization framework
package soot.robovm;
import soot.ValueBox;
import soot.jimple.internal.JNopStmt;
import java.util.Collections;
import java.util.List;
/**
* @author Demyan Kimitsa
* Special class that keep local variable references as used.
* It is needed for case when there is local variable attached to simple goto statement
*/
public class RoboVmNopStmt extends JNopStmt {
private final List useBoxes;
public RoboVmNopStmt(List useBoxes) {
this.useBoxes = useBoxes;
}
@Override
public List getUseBoxes() {
return Collections.unmodifiableList(useBoxes);
}
}