@@ -42,7 +42,7 @@ class EngineProcessModel private constructor(
42
42
serializers.register(RenderParams )
43
43
serializers.register(RenderResult )
44
44
serializers.register(SetupContextParams )
45
- serializers.register(Signature )
45
+ serializers.register(MethodDescription )
46
46
serializers.register(FindMethodsInClassMatchingSelectedArguments )
47
47
serializers.register(FindMethodsInClassMatchingSelectedResult )
48
48
serializers.register(FindMethodParamNamesArguments )
@@ -71,9 +71,9 @@ class EngineProcessModel private constructor(
71
71
bind(lifetime, protocol, " EngineProcessModel" )
72
72
}
73
73
}
74
-
75
-
76
- const val serializationHash = - 621732450296355904L
74
+
75
+
76
+ const val serializationHash = - 6219345436129699239L
77
77
78
78
}
79
79
override val serializersOwner: ISerializersOwner get() = EngineProcessModel
@@ -180,7 +180,7 @@ val IProtocol.engineProcessModel get() = getOrCreateExtension(EngineProcessModel
180
180
181
181
182
182
/* *
183
- * #### Generated from [EngineProcessModel.kt:99 ]
183
+ * #### Generated from [EngineProcessModel.kt:100 ]
184
184
*/
185
185
data class FindMethodParamNamesArguments (
186
186
val classId : ByteArray ,
@@ -243,7 +243,7 @@ data class FindMethodParamNamesArguments (
243
243
244
244
245
245
/* *
246
- * #### Generated from [EngineProcessModel.kt:103 ]
246
+ * #### Generated from [EngineProcessModel.kt:104 ]
247
247
*/
248
248
data class FindMethodParamNamesResult (
249
249
val paramNames : ByteArray
@@ -300,27 +300,27 @@ data class FindMethodParamNamesResult (
300
300
301
301
302
302
/* *
303
- * #### Generated from [EngineProcessModel.kt:92 ]
303
+ * #### Generated from [EngineProcessModel.kt:93 ]
304
304
*/
305
305
data class FindMethodsInClassMatchingSelectedArguments (
306
306
val classId : ByteArray ,
307
- val signatures : List <Signature >
307
+ val methodDescriptions : List <MethodDescription >
308
308
) : IPrintable {
309
309
// companion
310
310
311
311
companion object : IMarshaller <FindMethodsInClassMatchingSelectedArguments > {
312
312
override val _type : KClass <FindMethodsInClassMatchingSelectedArguments > = FindMethodsInClassMatchingSelectedArguments ::class
313
313
314
314
@Suppress(" UNCHECKED_CAST" )
315
- override fun read (ctx : SerializationCtx , buffer : AbstractBuffer ): FindMethodsInClassMatchingSelectedArguments {
315
+ override fun read (ctx : SerializationCtx , buffer : AbstractBuffer ): FindMethodsInClassMatchingSelectedArguments {
316
316
val classId = buffer.readByteArray()
317
- val signatures = buffer.readList { Signature .read(ctx, buffer) }
318
- return FindMethodsInClassMatchingSelectedArguments (classId, signatures )
317
+ val methodDescriptions = buffer.readList { MethodDescription .read(ctx, buffer) }
318
+ return FindMethodsInClassMatchingSelectedArguments (classId, methodDescriptions )
319
319
}
320
320
321
321
override fun write (ctx : SerializationCtx , buffer : AbstractBuffer , value : FindMethodsInClassMatchingSelectedArguments ) {
322
322
buffer.writeByteArray(value.classId)
323
- buffer.writeList(value.signatures ) { v -> Signature .write(ctx, buffer, v) }
323
+ buffer.writeList(value.methodDescriptions ) { v -> MethodDescription .write(ctx, buffer, v) }
324
324
}
325
325
326
326
@@ -335,25 +335,25 @@ data class FindMethodsInClassMatchingSelectedArguments (
335
335
if (other == null || other::class != this ::class ) return false
336
336
337
337
other as FindMethodsInClassMatchingSelectedArguments
338
-
338
+
339
339
if (! (classId contentEquals other.classId)) return false
340
- if (signatures != other.signatures ) return false
340
+ if (methodDescriptions != other.methodDescriptions ) return false
341
341
342
342
return true
343
343
}
344
344
// hash code trait
345
345
override fun hashCode (): Int {
346
346
var __r = 0
347
- __r = __r * 31 + classId.contentHashCode()
348
- __r = __r * 31 + signatures .hashCode()
347
+ __r = __r * 31 + classId.contentHashCode()
348
+ __r = __r * 31 + methodDescriptions .hashCode()
349
349
return __r
350
350
}
351
351
// pretty print
352
352
override fun print (printer : PrettyPrinter ) {
353
353
printer.println (" FindMethodsInClassMatchingSelectedArguments (" )
354
354
printer.indent {
355
355
print (" classId = " ); classId.print (printer); println ()
356
- print (" signatures = " ); signatures .print (printer); println ()
356
+ print (" methodDescriptions = " ); methodDescriptions .print (printer); println ()
357
357
}
358
358
printer.print (" )" )
359
359
}
@@ -363,7 +363,7 @@ data class FindMethodsInClassMatchingSelectedArguments (
363
363
364
364
365
365
/* *
366
- * #### Generated from [EngineProcessModel.kt:96 ]
366
+ * #### Generated from [EngineProcessModel.kt:97 ]
367
367
*/
368
368
data class FindMethodsInClassMatchingSelectedResult (
369
369
val executableIds : ByteArray
@@ -606,7 +606,7 @@ data class GenerateResult (
606
606
607
607
608
608
/* *
609
- * #### Generated from [EngineProcessModel.kt:111 ]
609
+ * #### Generated from [EngineProcessModel.kt:112 ]
610
610
*/
611
611
data class GenerateTestReportArgs (
612
612
val eventLogMessage : String? ,
@@ -699,7 +699,7 @@ data class GenerateTestReportArgs (
699
699
700
700
701
701
/* *
702
- * #### Generated from [EngineProcessModel.kt:120 ]
702
+ * #### Generated from [EngineProcessModel.kt:121 ]
703
703
*/
704
704
data class GenerateTestReportResult (
705
705
val notifyMessage : String ,
@@ -830,10 +830,82 @@ data class JdkInfo (
830
830
}
831
831
832
832
833
+ /* *
834
+ * #### Generated from [EngineProcessModel.kt:88]
835
+ */
836
+ data class MethodDescription (
837
+ val name : String ,
838
+ val containingClass : String? ,
839
+ val parametersTypes : List <String ?>
840
+ ) : IPrintable {
841
+ // companion
842
+
843
+ companion object : IMarshaller <MethodDescription > {
844
+ override val _type : KClass <MethodDescription > = MethodDescription ::class
845
+
846
+ @Suppress(" UNCHECKED_CAST" )
847
+ override fun read (ctx : SerializationCtx , buffer : AbstractBuffer ): MethodDescription {
848
+ val name = buffer.readString()
849
+ val containingClass = buffer.readNullable { buffer.readString() }
850
+ val parametersTypes = buffer.readList { buffer.readNullable { buffer.readString() } }
851
+ return MethodDescription (name, containingClass, parametersTypes)
852
+ }
853
+
854
+ override fun write (ctx : SerializationCtx , buffer : AbstractBuffer , value : MethodDescription ) {
855
+ buffer.writeString(value.name)
856
+ buffer.writeNullable(value.containingClass) { buffer.writeString(it) }
857
+ buffer.writeList(value.parametersTypes) { v -> buffer.writeNullable(v) { buffer.writeString(it) } }
858
+ }
859
+
860
+
861
+ }
862
+
863
+ // fields
864
+ // methods
865
+ // initializer
866
+ // secondary constructor
867
+ // equals trait
868
+ override fun equals (other : Any? ): Boolean {
869
+ if (this == = other) return true
870
+ if (other == null || other::class != this ::class ) return false
871
+
872
+ other as MethodDescription
873
+
874
+ if (name != other.name) return false
875
+ if (containingClass != other.containingClass) return false
876
+ if (parametersTypes != other.parametersTypes) return false
877
+
878
+ return true
879
+ }
880
+
881
+ // hash code trait
882
+ override fun hashCode (): Int {
883
+ var __r = 0
884
+ __r = __r * 31 + name.hashCode()
885
+ __r = __r * 31 + if (containingClass != null ) containingClass.hashCode() else 0
886
+ __r = __r * 31 + parametersTypes.hashCode()
887
+ return __r
888
+ }
889
+
890
+ // pretty print
891
+ override fun print (printer : PrettyPrinter ) {
892
+ printer.println (" MethodDescription (" )
893
+ printer.indent {
894
+ print (" name = " ); name.print (printer); println ()
895
+ print (" containingClass = " ); containingClass.print (printer); println ()
896
+ print (" parametersTypes = " ); parametersTypes.print (printer); println ()
897
+ }
898
+ printer.print (" )" )
899
+ }
900
+ // deepClone
901
+ // contexts
902
+ }
903
+
904
+
833
905
/* *
834
906
* #### Generated from [EngineProcessModel.kt:64]
835
907
*/
836
- data class RenderParams (
908
+ data class RenderParams (
837
909
val testSetsId : Long ,
838
910
val classUnderTest : ByteArray ,
839
911
val paramNames : ByteArray ,
@@ -1091,69 +1163,6 @@ data class SetupContextParams (
1091
1163
}
1092
1164
1093
1165
1094
- /* *
1095
- * #### Generated from [EngineProcessModel.kt:88]
1096
- */
1097
- data class Signature (
1098
- val name : String ,
1099
- val parametersTypes : List <String ?>
1100
- ) : IPrintable {
1101
- // companion
1102
-
1103
- companion object : IMarshaller <Signature > {
1104
- override val _type : KClass <Signature > = Signature ::class
1105
-
1106
- @Suppress(" UNCHECKED_CAST" )
1107
- override fun read (ctx : SerializationCtx , buffer : AbstractBuffer ): Signature {
1108
- val name = buffer.readString()
1109
- val parametersTypes = buffer.readList { buffer.readNullable { buffer.readString() } }
1110
- return Signature (name, parametersTypes)
1111
- }
1112
-
1113
- override fun write (ctx : SerializationCtx , buffer : AbstractBuffer , value : Signature ) {
1114
- buffer.writeString(value.name)
1115
- buffer.writeList(value.parametersTypes) { v -> buffer.writeNullable(v) { buffer.writeString(it) } }
1116
- }
1117
-
1118
-
1119
- }
1120
- // fields
1121
- // methods
1122
- // initializer
1123
- // secondary constructor
1124
- // equals trait
1125
- override fun equals (other : Any? ): Boolean {
1126
- if (this == = other) return true
1127
- if (other == null || other::class != this ::class ) return false
1128
-
1129
- other as Signature
1130
-
1131
- if (name != other.name) return false
1132
- if (parametersTypes != other.parametersTypes) return false
1133
-
1134
- return true
1135
- }
1136
- // hash code trait
1137
- override fun hashCode (): Int {
1138
- var __r = 0
1139
- __r = __r * 31 + name.hashCode()
1140
- __r = __r * 31 + parametersTypes.hashCode()
1141
- return __r
1142
- }
1143
- // pretty print
1144
- override fun print (printer : PrettyPrinter ) {
1145
- printer.println (" Signature (" )
1146
- printer.indent {
1147
- print (" name = " ); name.print (printer); println ()
1148
- print (" parametersTypes = " ); parametersTypes.print (printer); println ()
1149
- }
1150
- printer.print (" )" )
1151
- }
1152
- // deepClone
1153
- // contexts
1154
- }
1155
-
1156
-
1157
1166
/* *
1158
1167
* #### Generated from [EngineProcessModel.kt:36]
1159
1168
*/
@@ -1230,7 +1239,7 @@ data class TestGeneratorParams (
1230
1239
1231
1240
1232
1241
/* *
1233
- * #### Generated from [EngineProcessModel.kt:106 ]
1242
+ * #### Generated from [EngineProcessModel.kt:107 ]
1234
1243
*/
1235
1244
data class WriteSarifReportArguments (
1236
1245
val testSetsId : Long ,
0 commit comments