File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
utbot-framework/src/main/kotlin/org/utbot/engine Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,9 @@ data class ExecutionState(
160
160
val isThrowException: Boolean
161
161
get() = (lastEdge?.decisionNum ? : 0 ) < CALL_DECISION_NUM
162
162
163
+ val isInsideStaticInitializer
164
+ get() = executionStack.any { it.method.isStaticInitializer }
165
+
163
166
fun createExceptionState (
164
167
exception : SymbolicFailure ,
165
168
update : SymbolicStateUpdate
Original file line number Diff line number Diff line change @@ -379,10 +379,6 @@ class Traverser(
379
379
private val featureProcessor: FeatureProcessor ? =
380
380
if (enableFeatureProcess) EngineAnalyticsContext .featureProcessorFactory(globalGraph) else null
381
381
382
- private val insideStaticInitializer
383
- get() = environment.state.executionStack.any { it.method.isStaticInitializer }
384
-
385
-
386
382
private val objectCounter = AtomicInteger (TypeRegistry .objectCounterInitialValue)
387
383
private fun findNewAddr (insideStaticInitializer : Boolean ): UtAddrExpression {
388
384
val newAddr = objectCounter.getAndIncrement()
You can’t perform that action at this time.
0 commit comments