Skip to content

Go: introduce Go.MethodDeclaration to handle receivers#7939

Merged
greg-at-moderne merged 1 commit into
mainfrom
greg-go-method-receiver-rpc
Jun 8, 2026
Merged

Go: introduce Go.MethodDeclaration to handle receivers#7939
greg-at-moderne merged 1 commit into
mainfrom
greg-go-method-receiver-rpc

Conversation

@greg-at-moderne

Copy link
Copy Markdown
Contributor

What's changed?

Add Go.MethodDeclaration LST element optionally wrapping around J.MethodDeclaration.

What's your motivation?

This is to handle receiver part of the method declaration.
Without the fix, it would land into Receiver field in java.MethodDeclaration which doesn't exist on Java side.

@greg-at-moderne greg-at-moderne self-assigned this Jun 8, 2026
@greg-at-moderne greg-at-moderne marked this pull request as ready for review June 8, 2026 14:04
@greg-at-moderne greg-at-moderne merged commit 212878e into main Jun 8, 2026
1 check passed
@greg-at-moderne greg-at-moderne deleted the greg-go-method-receiver-rpc branch June 8, 2026 14:04
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant