Title: Move Method refactoring causes name shadowing. · Issue #4300 · redhat-developer/vscode-java · GitHub
Open Graph Title: Move Method refactoring causes name shadowing. · Issue #4300 · redhat-developer/vscode-java
X Title: Move Method refactoring causes name shadowing. · Issue #4300 · redhat-developer/vscode-java
Description: Select the "methodToBeMoved" in class SourceClass, and move to class TargetClass Before refactoring class TargetClass { } class SubClass extends TargetClass { static public void methodToBeMoved() { } } class SourceClass { TargetClass t; ...
Open Graph Description: Select the "methodToBeMoved" in class SourceClass, and move to class TargetClass Before refactoring class TargetClass { } class SubClass extends TargetClass { static public void methodToBeMoved() {...
X Description: Select the "methodToBeMoved" in class SourceClass, and move to class TargetClass Before refactoring class TargetClass { } class SubClass extends TargetClass { static public void methodToB...
Opengraph URL: https://github.com/redhat-developer/vscode-java/issues/4300
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Move Method refactoring causes name shadowing.","articleBody":"Select the \"methodToBeMoved\" in class SourceClass, and move to class TargetClass \nBefore refactoring\n```java\nclass TargetClass {\n}\nclass SubClass extends TargetClass {\n static public void methodToBeMoved() {\n }\n}\n\nclass SourceClass {\n TargetClass t;\n void methodToBeMoved() {\n }\n}\n```\n\n```java\nclass TargetClass {\n void methodToBeMoved() {\n }\n}\nclass SubClass extends TargetClass {\n static public void methodToBeMoved() {\n }\n}\nclass SourceClass {\n TargetClass t;\n}\n```\nError: This static method cannot hide the instance method from TargetClass","author":{"url":"https://github.com/assdfsdafasfa","@type":"Person","name":"assdfsdafasfa"},"datePublished":"2026-01-05T11:51:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/4300/vscode-java/issues/4300"}
| 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:0eb78967-2e5a-c70b-309c-5ea85e668ceb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AAAA:53BA2:16FBD92:1DF30BD:698FD9E2 |
| html-safe-nonce | 78c39a6af13366bd64059c85bdbbf649a60c69cf3df6a59bf6dd96b9698054b3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUFBOjUzQkEyOjE2RkJEOTI6MURGMzBCRDo2OThGRDlFMiIsInZpc2l0b3JfaWQiOiI0NzczNzU3NjkzNDQ0NzQxNjAyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f67739aafa89ce93dfff602cfa915837c0f5880ef0de56e15f964a14f3cb336e |
| hovercard-subject-tag | issue:3781219587 |
| 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/redhat-developer/vscode-java/4300/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5235623256359cbb60b45ad124403b1655beda6d197a8954b35ccbbef6e5d48b/redhat-developer/vscode-java/issues/4300 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5235623256359cbb60b45ad124403b1655beda6d197a8954b35ccbbef6e5d48b/redhat-developer/vscode-java/issues/4300 |
| og:image:alt | Select the "methodToBeMoved" in class SourceClass, and move to class TargetClass Before refactoring class TargetClass { } class SubClass extends TargetClass { static public void methodToBeMoved() {... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | assdfsdafasfa |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/redhat-developer/vscode-java git https://github.com/redhat-developer/vscode-java.git |
| octolytics-dimension-user_id | 11033755 |
| octolytics-dimension-user_login | redhat-developer |
| octolytics-dimension-repository_id | 65561709 |
| octolytics-dimension-repository_nwo | redhat-developer/vscode-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 65561709 |
| octolytics-dimension-repository_network_root_nwo | redhat-developer/vscode-java |
| 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