File tree 1 file changed +6
-4
lines changed
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/domain/builtin
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import org.utbot.framework.codegen.tree.ututils.UtilClassKind.Companion.PACKAGE_
10
10
import org.utbot.framework.codegen.tree.ututils.UtilClassKind.Companion.UT_UTILS_BASE_PACKAGE_NAME
11
11
import org.utbot.framework.plugin.api.BuiltinClassId
12
12
import org.utbot.framework.plugin.api.BuiltinConstructorId
13
+ import org.utbot.framework.plugin.api.BuiltinMethodId
13
14
import org.utbot.framework.plugin.api.ClassId
14
15
import org.utbot.framework.plugin.api.CodegenLanguage
15
16
import org.utbot.framework.plugin.api.MethodId
@@ -301,16 +302,17 @@ internal val utKotlinUtilsClassId: ClassId
301
302
isKotlinObject = true
302
303
)
303
304
304
- /* *
305
- * [MethodId] for [AutoCloseable.close].
306
- */
307
- val openMocksMethodId = MethodId (
305
+ val openMocksMethodId = BuiltinMethodId (
308
306
classId = MockitoAnnotations ::class .id,
309
307
name = " openMocks" ,
310
308
returnType = AutoCloseable ::class .java.id,
311
309
parameters = listOf (objectClassId),
310
+ isStatic = true ,
312
311
)
313
312
313
+ /* *
314
+ * [MethodId] for [AutoCloseable.close].
315
+ */
314
316
val closeMethodId = MethodId (
315
317
classId = AutoCloseable ::class .java.id,
316
318
name = " close" ,
You can’t perform that action at this time.
0 commit comments