File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
utbot-framework/src/main/kotlin/org/utbot/engine
utbot-framework-api/src/main/kotlin/org/utbot/framework/plugin/api Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -520,7 +520,6 @@ data class UtDirectSetFieldModel(
520
520
val fieldId : FieldId ,
521
521
val fieldModel : UtModel ,
522
522
) : UtStatementModel(instance) {
523
-
524
523
override fun toString (): String = withToStringThreadLocalReentrancyGuard {
525
524
val modelRepresentation = when (fieldModel) {
526
525
is UtAssembleModel -> fieldModel.modelName
Original file line number Diff line number Diff line change @@ -639,7 +639,11 @@ class Traverser(
639
639
SECURITY_FIELD_SIGNATURE -> SecurityManager ()
640
640
FIELD_FILTER_MAP_FIELD_SIGNATURE -> mapOf (Reflection ::class to arrayOf(" fieldFilterMap" , " methodFilterMap" ))
641
641
METHOD_FILTER_MAP_FIELD_SIGNATURE -> emptyMap<Class <* >, Array <String >>()
642
- else -> field.fieldId.field.let { it.withAccessibility { it.get(null ) } }
642
+ else -> {
643
+ val id = field.fieldId
644
+ val jField = id.field
645
+ jField.let { it.withAccessibility { it.get(null ) } }
646
+ }
643
647
}
644
648
645
649
private fun isStaticInstanceInMethodResult (id : ClassId , methodResult : MethodResult ? ) =
You can’t perform that action at this time.
0 commit comments