Issue #223 AS2 Detecting uninitialized class fields

This commit is contained in:
Jindra Petk
2013-07-30 23:01:39 +02:00
parent b4bb09065e
commit 765cc1665e
58 changed files with 435 additions and 73 deletions

View File

@@ -23,6 +23,7 @@ import com.jpexs.decompiler.graph.GraphSourceItem;
import com.jpexs.decompiler.graph.GraphTargetItem;
import static com.jpexs.decompiler.graph.GraphTargetItem.PRECEDENCE_PRIMARY;
import com.jpexs.decompiler.graph.SourceGenerator;
import java.util.ArrayList;
import java.util.List;
/**
@@ -34,6 +35,14 @@ public class PrintAsBitmapActionItem extends ActionItem {
private GraphTargetItem target;
private GraphTargetItem boundingBox;
@Override
public List<GraphTargetItem> getAllSubItems() {
List<GraphTargetItem> ret = new ArrayList<>();
ret.add(target);
ret.add(boundingBox);
return ret;
}
public PrintAsBitmapActionItem(GraphSourceItem instruction, GraphTargetItem target, GraphTargetItem boundingBox) {
super(instruction, PRECEDENCE_PRIMARY);
this.target = target;