Title: The this keyword causes errors in the "Move Method" refactoring. · Issue #4299 · redhat-developer/vscode-java · GitHub
Open Graph Title: The this keyword causes errors in the "Move Method" refactoring. · Issue #4299 · redhat-developer/vscode-java
X Title: The this keyword causes errors in the "Move Method" refactoring. · Issue #4299 · redhat-developer/vscode-java
Description: Select the "methodToBeMoved" method, and perform "move" refactoring Before refactoring class SourceClass { TargetClass t; void methodToBeMoved(SourceClass this) {} } class TargetClass{} After refactoring class SourceClass { TargetClass t...
Open Graph Description: Select the "methodToBeMoved" method, and perform "move" refactoring Before refactoring class SourceClass { TargetClass t; void methodToBeMoved(SourceClass this) {} } class TargetClass{} After refac...
X Description: Select the "methodToBeMoved" method, and perform "move" refactoring Before refactoring class SourceClass { TargetClass t; void methodToBeMoved(SourceClass this) {} } class Targe...
Opengraph URL: https://github.com/redhat-developer/vscode-java/issues/4299
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The this keyword causes errors in the \"Move Method\" refactoring.","articleBody":"Select the \"methodToBeMoved\" method, and perform \"move\" refactoring\n Before refactoring\n```java\nclass SourceClass {\n TargetClass t;\n void methodToBeMoved(SourceClass this) {}\n}\nclass TargetClass{}\n```\n\nAfter refactoring\n```java\n class SourceClass {\n TargetClass t;\n}\nclass TargetClass{\n void methodToBeMoved(SourceClass this) {}\n}\n```\nError message: The declared type of the explicit 'this' parameter is expected to be TargetClass","author":{"url":"https://github.com/assdfsdafasfa","@type":"Person","name":"assdfsdafasfa"},"datePublished":"2026-01-05T11:44:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/4299/vscode-java/issues/4299"}
| 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:aeb1f23c-11d3-bcb8-4e2c-d58933da6ec9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B65A:1D47:E195A5:11C3C3A:69901121 |
| html-safe-nonce | 3625f85b701efbde0a14ea2df827e63869d6441d79866d49dc465afee60c36cd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjVBOjFENDc6RTE5NUE1OjExQzNDM0E6Njk5MDExMjEiLCJ2aXNpdG9yX2lkIjoiNjg3OTY2OTcxNzMzMTYxMTkzNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f41b413064aacd6b8d0a6b9799850da31281efa08cec37fa494370f623da5693 |
| hovercard-subject-tag | issue:3781202046 |
| 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/4299/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c942c0d226a1a40d46cae05ed0fb4bca4e70c9d64ae35adac2fc5a53b385e357/redhat-developer/vscode-java/issues/4299 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c942c0d226a1a40d46cae05ed0fb4bca4e70c9d64ae35adac2fc5a53b385e357/redhat-developer/vscode-java/issues/4299 |
| og:image:alt | Select the "methodToBeMoved" method, and perform "move" refactoring Before refactoring class SourceClass { TargetClass t; void methodToBeMoved(SourceClass this) {} } class TargetClass{} After refac... |
| 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