File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/constructor/util
utbot-framework-api/src/main/kotlin/org/utbot/framework/plugin/api Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -705,7 +705,6 @@ open class ClassId(
705
705
/* *
706
706
* Collects all declared methods (including private and protected) from class and all its superclasses to sequence
707
707
*/
708
- // TODO for now it duplicates overridden methods JIRA:1458
709
708
open val allMethods: Sequence <MethodId >
710
709
get() = generateSequence(jClass) { it.superclass }
711
710
.mapNotNull { it.declaredMethods }
Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ internal fun ClassId.getAmbiguousOverloadsOf(executableId: ExecutableId): Sequen
239
239
}
240
240
241
241
return allExecutables.filter {
242
- it.name == executableId.name && it.parameters.size == executableId.executable.parameters.size
242
+ it.name == executableId.name && it.parameters.size == executableId.executable.parameters.size && it.classId == executableId.classId
243
243
}
244
244
}
245
245
You can’t perform that action at this time.
0 commit comments