Skip to content

fix: reject unnamed method parameters - #470

Merged
AndreasIgel merged 5 commits into
java-helpers:mainfrom
igel-devin-ai:devin/1796080476-issue-454-unnamed-parameters
Dec 2, 2026
Merged

AndreasIgel merged 5 commits into
java-helpers:mainfrom
igel-devin-ai:devin/1796080476-issue-454-unnamed-parameters

Conversation

@igel-devin-ai

Copy link
Copy Markdown
Contributor

Closes #454.

Summary

  • Validate method and constructor parameter names before Roaster renders the signature.
  • Add regression tests for unnamed method and constructor parameters created directly as DTOs.

Verification

  • mvn clean verify

@codecov

codecov Bot commented Dec 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@AndreasIgel

This comment has been minimized.

@sonarqubecloud

sonarqubecloud Bot commented Dec 2, 2026

Copy link
Copy Markdown

@AndreasIgel
AndreasIgel merged commit c940e93 into java-helpers:main Dec 2, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Code generator silently drops parameters without a name

2 participants