Skip to content

Adding @Generated annotation to generated code Issue(#2081)#2198

Merged
gtebrean merged 4 commits intoLFDT-web3j:mainfrom
bodyhedia44:#issue-2081
Jul 28, 2025
Merged

Adding @Generated annotation to generated code Issue(#2081)#2198
gtebrean merged 4 commits intoLFDT-web3j:mainfrom
bodyhedia44:#issue-2081

Conversation

@bodyhedia44
Copy link
Copy Markdown
Contributor

@bodyhedia44 bodyhedia44 commented Jul 8, 2025

What does this PR do?

Adding @generated annotation to generated code this will help us to, for example, ignore static analysis warning/errors in the generate code.

Fixes: #2081

Where should the reviewer start?

codegen module SolidityFunctionWrapper.java file

Why is it needed?

ignore static analysis warning/errors in the generate code.

Checklist

  • I've read the contribution guidelines.
  • I've added tests (if applicable).
  • I've added a changelog entry if necessary.

Signed-off-by: Abdelrahman Hedia <bodyhadia44@gmail.com>
Signed-off-by: Abdelrahman Hedia <bodyhadia44@gmail.com>
Copy link
Copy Markdown
Contributor

@gtebrean gtebrean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bodyhedia44 please update the changelog.md

Signed-off-by: Abdelrahman Hedia <bodyhadia44@gmail.com>
Signed-off-by: Abdelrahman Hedia <66520407+bodyhedia44@users.noreply.github.com>
@gtebrean gtebrean merged commit ea92f56 into LFDT-web3j:main Jul 28, 2025
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.

Add @javax.annotation.Generated to generated java classes

2 participants