Skip to content

Commit 051966b

Browse files
committed
Use binaryName instead of canonicalName for Spring configurations
1 parent fb98d56 commit 051966b

File tree

7 files changed

+113
-96
lines changed

7 files changed

+113
-96
lines changed

utbot-framework/src/main/kotlin/org/utbot/framework/process/generated/EngineProcessModel.Generated.kt

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class EngineProcessModel private constructor(
7575
}
7676

7777

78-
const val serializationHash = 2605460374173973135L
78+
const val serializationHash = 4955072258757490759L
7979

8080
}
8181
override val serializersOwner: ISerializersOwner get() = EngineProcessModel
@@ -182,33 +182,33 @@ val IProtocol.engineProcessModel get() = getOrCreateExtension(EngineProcessModel
182182

183183

184184
/**
185-
* #### Generated from [EngineProcessModel.kt:132]
185+
* #### Generated from [EngineProcessModel.kt:134]
186186
*/
187187
data class BeanAdditionalData (
188188
val factoryMethodName: String,
189189
val parameterTypes: List<String>,
190190
val configClassFqn: String
191191
) : IPrintable {
192192
//companion
193-
193+
194194
companion object : IMarshaller<BeanAdditionalData> {
195195
override val _type: KClass<BeanAdditionalData> = BeanAdditionalData::class
196-
196+
197197
@Suppress("UNCHECKED_CAST")
198198
override fun read(ctx: SerializationCtx, buffer: AbstractBuffer): BeanAdditionalData {
199199
val factoryMethodName = buffer.readString()
200200
val parameterTypes = buffer.readList { buffer.readString() }
201201
val configClassFqn = buffer.readString()
202202
return BeanAdditionalData(factoryMethodName, parameterTypes, configClassFqn)
203203
}
204-
204+
205205
override fun write(ctx: SerializationCtx, buffer: AbstractBuffer, value: BeanAdditionalData) {
206206
buffer.writeString(value.factoryMethodName)
207207
buffer.writeList(value.parameterTypes) { v -> buffer.writeString(v) }
208208
buffer.writeString(value.configClassFqn)
209209
}
210-
211-
210+
211+
212212
}
213213
//fields
214214
//methods
@@ -218,13 +218,13 @@ data class BeanAdditionalData (
218218
override fun equals(other: Any?): Boolean {
219219
if (this === other) return true
220220
if (other == null || other::class != this::class) return false
221-
221+
222222
other as BeanAdditionalData
223-
223+
224224
if (factoryMethodName != other.factoryMethodName) return false
225225
if (parameterTypes != other.parameterTypes) return false
226226
if (configClassFqn != other.configClassFqn) return false
227-
227+
228228
return true
229229
}
230230
//hash code trait
@@ -251,33 +251,33 @@ data class BeanAdditionalData (
251251

252252

253253
/**
254-
* #### Generated from [EngineProcessModel.kt:137]
254+
* #### Generated from [EngineProcessModel.kt:139]
255255
*/
256256
data class BeanDefinitionData (
257257
val beanName: String,
258258
val beanTypeFqn: String,
259259
val additionalData: BeanAdditionalData?
260260
) : IPrintable {
261261
//companion
262-
262+
263263
companion object : IMarshaller<BeanDefinitionData> {
264264
override val _type: KClass<BeanDefinitionData> = BeanDefinitionData::class
265-
265+
266266
@Suppress("UNCHECKED_CAST")
267267
override fun read(ctx: SerializationCtx, buffer: AbstractBuffer): BeanDefinitionData {
268268
val beanName = buffer.readString()
269269
val beanTypeFqn = buffer.readString()
270270
val additionalData = buffer.readNullable { BeanAdditionalData.read(ctx, buffer) }
271271
return BeanDefinitionData(beanName, beanTypeFqn, additionalData)
272272
}
273-
273+
274274
override fun write(ctx: SerializationCtx, buffer: AbstractBuffer, value: BeanDefinitionData) {
275275
buffer.writeString(value.beanName)
276276
buffer.writeString(value.beanTypeFqn)
277277
buffer.writeNullable(value.additionalData) { BeanAdditionalData.write(ctx, buffer, it) }
278278
}
279-
280-
279+
280+
281281
}
282282
//fields
283283
//methods
@@ -287,13 +287,13 @@ data class BeanDefinitionData (
287287
override fun equals(other: Any?): Boolean {
288288
if (this === other) return true
289289
if (other == null || other::class != this::class) return false
290-
290+
291291
other as BeanDefinitionData
292-
292+
293293
if (beanName != other.beanName) return false
294294
if (beanTypeFqn != other.beanTypeFqn) return false
295295
if (additionalData != other.additionalData) return false
296-
296+
297297
return true
298298
}
299299
//hash code trait
@@ -320,7 +320,7 @@ data class BeanDefinitionData (
320320

321321

322322
/**
323-
* #### Generated from [EngineProcessModel.kt:106]
323+
* #### Generated from [EngineProcessModel.kt:108]
324324
*/
325325
data class FindMethodParamNamesArguments (
326326
val classId: ByteArray,
@@ -383,7 +383,7 @@ data class FindMethodParamNamesArguments (
383383

384384

385385
/**
386-
* #### Generated from [EngineProcessModel.kt:110]
386+
* #### Generated from [EngineProcessModel.kt:112]
387387
*/
388388
data class FindMethodParamNamesResult (
389389
val paramNames: ByteArray
@@ -440,7 +440,7 @@ data class FindMethodParamNamesResult (
440440

441441

442442
/**
443-
* #### Generated from [EngineProcessModel.kt:99]
443+
* #### Generated from [EngineProcessModel.kt:101]
444444
*/
445445
data class FindMethodsInClassMatchingSelectedArguments (
446446
val classId: ByteArray,
@@ -503,7 +503,7 @@ data class FindMethodsInClassMatchingSelectedArguments (
503503

504504

505505
/**
506-
* #### Generated from [EngineProcessModel.kt:103]
506+
* #### Generated from [EngineProcessModel.kt:105]
507507
*/
508508
data class FindMethodsInClassMatchingSelectedResult (
509509
val executableIds: ByteArray
@@ -630,7 +630,7 @@ data class GenerateParams (
630630
if (fuzzingValue != other.fuzzingValue) return false
631631
if (searchDirectory != other.searchDirectory) return false
632632
if (taintConfigPath != other.taintConfigPath) return false
633-
633+
634634
return true
635635
}
636636
//hash code trait
@@ -734,7 +734,7 @@ data class GenerateResult (
734734

735735

736736
/**
737-
* #### Generated from [EngineProcessModel.kt:118]
737+
* #### Generated from [EngineProcessModel.kt:120]
738738
*/
739739
data class GenerateTestReportArgs (
740740
val eventLogMessage: String?,
@@ -827,7 +827,7 @@ data class GenerateTestReportArgs (
827827

828828

829829
/**
830-
* #### Generated from [EngineProcessModel.kt:127]
830+
* #### Generated from [EngineProcessModel.kt:129]
831831
*/
832832
data class GenerateTestReportResult (
833833
val notifyMessage: String,
@@ -896,7 +896,7 @@ data class GenerateTestReportResult (
896896

897897

898898
/**
899-
* #### Generated from [EngineProcessModel.kt:88]
899+
* #### Generated from [EngineProcessModel.kt:90]
900900
*/
901901
data class GetSpringBeanDefinitions (
902902
val classpath: Array<String>,
@@ -905,10 +905,10 @@ data class GetSpringBeanDefinitions (
905905
val profileExpression: String?
906906
) : IPrintable {
907907
//companion
908-
908+
909909
companion object : IMarshaller<GetSpringBeanDefinitions> {
910910
override val _type: KClass<GetSpringBeanDefinitions> = GetSpringBeanDefinitions::class
911-
911+
912912
@Suppress("UNCHECKED_CAST")
913913
override fun read(ctx: SerializationCtx, buffer: AbstractBuffer): GetSpringBeanDefinitions {
914914
val classpath = buffer.readArray {buffer.readString()}
@@ -917,15 +917,15 @@ data class GetSpringBeanDefinitions (
917917
val profileExpression = buffer.readNullable { buffer.readString() }
918918
return GetSpringBeanDefinitions(classpath, config, fileStorage, profileExpression)
919919
}
920-
920+
921921
override fun write(ctx: SerializationCtx, buffer: AbstractBuffer, value: GetSpringBeanDefinitions) {
922922
buffer.writeArray(value.classpath) { buffer.writeString(it) }
923923
buffer.writeString(value.config)
924924
buffer.writeArray(value.fileStorage) { buffer.writeString(it) }
925925
buffer.writeNullable(value.profileExpression) { buffer.writeString(it) }
926926
}
927-
928-
927+
928+
929929
}
930930
//fields
931931
//methods
@@ -935,14 +935,14 @@ data class GetSpringBeanDefinitions (
935935
override fun equals(other: Any?): Boolean {
936936
if (this === other) return true
937937
if (other == null || other::class != this::class) return false
938-
938+
939939
other as GetSpringBeanDefinitions
940-
940+
941941
if (!(classpath contentDeepEquals other.classpath)) return false
942942
if (config != other.config) return false
943943
if (!(fileStorage contentDeepEquals other.fileStorage)) return false
944944
if (profileExpression != other.profileExpression) return false
945-
945+
946946
return true
947947
}
948948
//hash code trait
@@ -1034,7 +1034,7 @@ data class JdkInfo (
10341034

10351035

10361036
/**
1037-
* #### Generated from [EngineProcessModel.kt:94]
1037+
* #### Generated from [EngineProcessModel.kt:96]
10381038
*/
10391039
data class MethodDescription (
10401040
val name: String,
@@ -1256,7 +1256,7 @@ data class RenderParams (
12561256

12571257

12581258
/**
1259-
* #### Generated from [EngineProcessModel.kt:81]
1259+
* #### Generated from [EngineProcessModel.kt:83]
12601260
*/
12611261
data class RenderResult (
12621262
val generatedCode: String,
@@ -1319,7 +1319,7 @@ data class RenderResult (
13191319

13201320

13211321
/**
1322-
* #### Generated from [EngineProcessModel.kt:85]
1322+
* #### Generated from [EngineProcessModel.kt:87]
13231323
*/
13241324
data class SetupContextParams (
13251325
val classpathForUrlsClassloader: List<String>
@@ -1376,27 +1376,27 @@ data class SetupContextParams (
13761376

13771377

13781378
/**
1379-
* #### Generated from [EngineProcessModel.kt:142]
1379+
* #### Generated from [EngineProcessModel.kt:144]
13801380
*/
13811381
data class SpringAnalyzerResult (
13821382
val beanDefinitions: Array<BeanDefinitionData>
13831383
) : IPrintable {
13841384
//companion
1385-
1385+
13861386
companion object : IMarshaller<SpringAnalyzerResult> {
13871387
override val _type: KClass<SpringAnalyzerResult> = SpringAnalyzerResult::class
1388-
1388+
13891389
@Suppress("UNCHECKED_CAST")
13901390
override fun read(ctx: SerializationCtx, buffer: AbstractBuffer): SpringAnalyzerResult {
13911391
val beanDefinitions = buffer.readArray {BeanDefinitionData.read(ctx, buffer)}
13921392
return SpringAnalyzerResult(beanDefinitions)
13931393
}
1394-
1394+
13951395
override fun write(ctx: SerializationCtx, buffer: AbstractBuffer, value: SpringAnalyzerResult) {
13961396
buffer.writeArray(value.beanDefinitions) { BeanDefinitionData.write(ctx, buffer, it) }
13971397
}
1398-
1399-
1398+
1399+
14001400
}
14011401
//fields
14021402
//methods
@@ -1406,11 +1406,11 @@ data class SpringAnalyzerResult (
14061406
override fun equals(other: Any?): Boolean {
14071407
if (this === other) return true
14081408
if (other == null || other::class != this::class) return false
1409-
1409+
14101410
other as SpringAnalyzerResult
1411-
1411+
14121412
if (!(beanDefinitions contentDeepEquals other.beanDefinitions)) return false
1413-
1413+
14141414
return true
14151415
}
14161416
//hash code trait
@@ -1514,7 +1514,7 @@ data class TestGeneratorParams (
15141514

15151515

15161516
/**
1517-
* #### Generated from [EngineProcessModel.kt:113]
1517+
* #### Generated from [EngineProcessModel.kt:115]
15181518
*/
15191519
data class WriteSarifReportArguments (
15201520
val testSetsId: Long,

0 commit comments

Comments
 (0)