Title: Improve overloadings check in generated code · Issue #370 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Improve overloadings check in generated code · Issue #370 · UnitTestBot/UTBotJava
X Title: Improve overloadings check in generated code · Issue #370 · UnitTestBot/UTBotJava
Description: Description Method ClassId.allMethods and its usage in codegen requires refactoring Expected behavior For now, to check functions overloadings and cast null arguments to their types in case we have overloadings with the same number of pa...
Open Graph Description: Description Method ClassId.allMethods and its usage in codegen requires refactoring Expected behavior For now, to check functions overloadings and cast null arguments to their types in case we have...
X Description: Description Method ClassId.allMethods and its usage in codegen requires refactoring Expected behavior For now, to check functions overloadings and cast null arguments to their types in case we have...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/issues/370
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improve overloadings check in generated code","articleBody":"**Description**\r\n\r\nMethod `ClassId.allMethods and its usage` in codegen requires refactoring\r\n\r\n\r\n**Expected behavior**\r\n\r\nFor now, to check functions overloadings and cast null arguments to their types in case we have overloadings with the same number of parameters, we filter all declared methods from class and all its ancestors. But actually, it is the wrong way because we count not only overloadings but overridings too. So, we should filter overloadings before.\r\n\r\n\r\n**Context**\r\n\r\nMigrated from Jira, issue 1458.\r\n","author":{"url":"https://github.com/EgorkaKulikov","@type":"Person","name":"EgorkaKulikov"},"datePublished":"2022-07-01T10:11:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/370/UTBotJava/issues/370"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:81101166-5bf2-b183-6e55-6fc9820f0c20 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DCD6:12E3E9:1168E47:166CB93:69907487 |
| html-safe-nonce | e82bf5cf2b25921b8daa103235e801b22865bdefd8bdd96d86a35e7b5d75937e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQ0Q2OjEyRTNFOToxMTY4RTQ3OjE2NkNCOTM6Njk5MDc0ODciLCJ2aXNpdG9yX2lkIjoiMTM4NjExMzY2NzYzMjc1NTg0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 31754f9918ded218391ad94323c1f3f2601a34526643a8b7455ef592c5762fdd |
| hovercard-subject-tag | issue:1291206815 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/UnitTestBot/UTBotJava/370/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1c3f36bbb71acf410101801737cbf4cace5cfa50de6a9f49d2b85d4e2122c824/UnitTestBot/UTBotJava/issues/370 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1c3f36bbb71acf410101801737cbf4cace5cfa50de6a9f49d2b85d4e2122c824/UnitTestBot/UTBotJava/issues/370 |
| og:image:alt | Description Method ClassId.allMethods and its usage in codegen requires refactoring Expected behavior For now, to check functions overloadings and cast null arguments to their types in case we have... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | EgorkaKulikov |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/UnitTestBot/UTBotJava git https://github.com/UnitTestBot/UTBotJava.git |
| octolytics-dimension-user_id | 87413538 |
| octolytics-dimension-user_login | UnitTestBot |
| octolytics-dimension-repository_id | 480810501 |
| octolytics-dimension-repository_nwo | UnitTestBot/UTBotJava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 480810501 |
| octolytics-dimension-repository_network_root_nwo | UnitTestBot/UTBotJava |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width