mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-27 02:50:53 +00:00
Issue #223 AS2 Detecting uninitialized class fields
This commit is contained in:
@@ -22,6 +22,7 @@ import com.jpexs.decompiler.flash.action.swf4.ActionPush;
|
||||
import com.jpexs.decompiler.graph.GraphSourceItem;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.SourceGenerator;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class GetPropertyActionItem extends ActionItem {
|
||||
@@ -29,6 +30,13 @@ public class GetPropertyActionItem extends ActionItem {
|
||||
public GraphTargetItem target;
|
||||
public int propertyIndex;
|
||||
|
||||
@Override
|
||||
public List<GraphTargetItem> getAllSubItems() {
|
||||
List<GraphTargetItem> ret = new ArrayList<>();
|
||||
ret.add(target);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public GetPropertyActionItem(GraphSourceItem instruction, GraphTargetItem target, int propertyIndex) {
|
||||
super(instruction, PRECEDENCE_PRIMARY);
|
||||
this.target = target;
|
||||
|
||||
Reference in New Issue
Block a user