версия под джсон. в графе циклов временно закоммичена старая распаковка

This commit is contained in:
2025-03-28 19:57:24 +03:00
parent 41b98607cd
commit ef5bd5b1a8
7 changed files with 89 additions and 19 deletions

View File

@@ -0,0 +1,41 @@
package _VisualDVM.ProjectData.SapforData.Loops.Json;
import _VisualDVM.ProjectData.SapforData.Functions.FuncCall;
import _VisualDVM.ProjectData.SapforData.Loops.*;
import com.google.gson.annotations.Expose;
import java.util.List;
import java.util.Vector;
public class LoopJson {
@Expose
String file;
@Expose
int line;
@Expose
int lineNumAfterLoop;
@Expose
int perfectLoop;
@Expose
int hasOutGoto;
@Expose
int hasPrints;
@Expose
int hasNonRectIters;
@Expose
int childCount;
@Expose
public LoopState loopState;
@Expose
public List<FuncCall> func_calls = new Vector<>();
@Expose
public List<NonRectIter> non_rect_iters = new Vector<>();
@Expose
public List<EGoto> e_gotos = new Vector<>();
@Expose
public List<IGoto> i_gotos = new Vector<>();
@Expose
public List<IO> ios = new Vector<>();
@Expose
public List<Stop> stops = new Vector<>();
@Expose
public List<Loop> loops = new Vector<>();
}

View File

@@ -6,5 +6,5 @@ import java.util.List;
import java.util.Vector;
public class LoopsJson {
@Expose
public List<Loop> values= new Vector<>();
public List<Loop> values = new Vector<>();
}