++
распределение в json, еще нашел внесенный переходом баг с отображением массивов текущего файла.
This commit is contained in:
@@ -31,16 +31,19 @@ public class SPF_GetAllDeclaratedArrays extends SapforAnalysis {
|
||||
}
|
||||
@Override
|
||||
public void unpack(String packed) throws Exception {
|
||||
System.out.println("packed="+ Utils_.Brackets(packed));
|
||||
ArraysJson arraysJson = Utils_.gson.fromJson(packed, ArraysJson.class);
|
||||
System.out.println("size="+arraysJson.allArrays.size());
|
||||
for (ProjectArray array: arraysJson.allArrays){
|
||||
array.Init();
|
||||
target.declaratedArrays.put(array.id, array);
|
||||
// array.print();
|
||||
//--
|
||||
for (ArrayDecl decl: array.declPlaces){
|
||||
DBProjectFile projectFile = target.db.files.get(decl.file);
|
||||
projectFile.array_decls.add(decl);
|
||||
}
|
||||
}
|
||||
for (DBProjectFile file : target.db.files.Data.values())
|
||||
for (DBProjectFile file : target.db.files.Data.values()) {
|
||||
file.ArrayGraphTitle = "Объявлений: " + file.array_decls.size();
|
||||
}
|
||||
target.UpdateArraysCount();
|
||||
}
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user