mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 06:20:51 +00:00
Issue #223 AS2 Detecting uninitialized class fields
This commit is contained in:
@@ -29,6 +29,14 @@ public class InitObjectActionItem extends ActionItem {
|
||||
public List<GraphTargetItem> names;
|
||||
public List<GraphTargetItem> values;
|
||||
|
||||
@Override
|
||||
public List<GraphTargetItem> getAllSubItems() {
|
||||
List<GraphTargetItem> ret = new ArrayList<>();
|
||||
ret.addAll(names);
|
||||
ret.addAll(values);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public InitObjectActionItem(GraphSourceItem instruction, List<GraphTargetItem> names, List<GraphTargetItem> values) {
|
||||
super(instruction, PRECEDENCE_PRIMARY);
|
||||
this.values = values;
|
||||
|
||||
Reference in New Issue
Block a user