@@ -13,9 +13,12 @@ const JNI_ENV_INDEX = 0;
1313
1414class NativeMethodJSONContainer {
1515 public readonly name : { [ id : string ] : string | null } = { } ;
16+
1617 public readonly sig : { [ id : string ] : string | null } = { } ;
18+
1719 public readonly addr : { [ id : string ] : string | null } = { } ;
1820
21+
1922 public constructor (
2023 name : { [ id : string ] : string | null } ,
2124 sig : { [ id : string ] : string | null } ,
@@ -30,10 +33,14 @@ class NativeMethodJSONContainer {
3033/* eslint-disable @typescript-eslint/camelcase */
3134class DataJSONContainer {
3235 public readonly value : NativeArgumentValue | NativeReturnValue ;
36+
3337 public readonly data : ArrayBuffer | NativeArgumentValue | NativeReturnValue
3438 | string | NativeMethodJSONContainer [ ] | undefined ;
39+
3540 public readonly data_for : number | undefined ;
41+
3642 public readonly has_data : boolean | undefined ;
43+
3744 private metadata : string | undefined ;
3845
3946 public constructor (
@@ -71,7 +78,9 @@ class DataJSONContainer {
7178
7279class BacktraceJSONContainer {
7380 public readonly address : NativePointer ;
81+
7482 public readonly module : Module | null ;
83+
7584 public readonly symbol : DebugSymbol | null ;
7685
7786 public constructor (
@@ -87,14 +96,21 @@ class BacktraceJSONContainer {
8796
8897class RecordJSONContainer {
8998 public readonly type : string ;
99+
90100 public readonly call_type : string ;
101+
91102 public readonly method : JNIMethod ;
103+
92104 public readonly args : DataJSONContainer [ ] ;
105+
93106 public readonly ret : DataJSONContainer ;
107+
94108 public readonly thread_id : number ;
109+
95110 public readonly timestamp : number ;
96111
97112 public readonly java_params : string [ ] | undefined ;
113+
98114 public readonly backtrace : BacktraceJSONContainer [ ] | undefined ;
99115
100116 public constructor (
@@ -122,11 +138,17 @@ class RecordJSONContainer {
122138
123139class DataTransport {
124140 private readonly start : number ;
141+
125142 private readonly byteArraySizes : Map < string , number > ;
143+
126144 private readonly jobjects : Map < string , string > ;
145+
127146 private readonly jfieldIDs : Map < string , string > ;
147+
128148 private readonly jmethodIDs : Map < string , string > ;
149+
129150 private include : string [ ] ;
151+
130152 private exclude : string [ ] ;
131153
132154 public constructor ( ) {
0 commit comments