mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-18 11:59:04 +00:00
Issue #223 AS2 Detecting uninitialized class fields
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user