File tree Expand file tree Collapse file tree
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/visitor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1285,7 +1285,7 @@ private fun getSingleAbstractMethod(language: CodegenLanguage) =
12851285 * @return a [java.lang.reflect.Method] for the single abstract method of the given functional interface `clazz`.
12861286 */
12871287 private fun getSingleAbstractMethod(clazz: Class<*>): java.lang.reflect.Method {
1288- val abstractMethods = clazz.methods.filter { Modifier.isAbstract(it.modifiers) }
1288+ val abstractMethods = clazz.methods.filter { java.lang.reflect. Modifier.isAbstract(it.modifiers) }
12891289 require(abstractMethods.isNotEmpty()) { "No abstract methods found in class: " + clazz.canonicalName }
12901290 require(abstractMethods.size <= 1) { "More than one abstract method found in class: " + clazz.canonicalName }
12911291 return abstractMethods[0]
You can’t perform that action at this time.
0 commit comments