Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to fix warning "The following options were not recognized by any processor" #198

Open
dldiehl77 opened this issue Jan 27, 2025 · 0 comments · May be fixed by #199
Open

Is it possible to fix warning "The following options were not recognized by any processor" #198

dldiehl77 opened this issue Jan 27, 2025 · 0 comments · May be fixed by #199
Labels
good first issue Good for newcomers improvement PR welcome A PR submitted for this issue would be welcome

Comments

@dldiehl77
Copy link

I get a warning like this one on every build:

[WARNING] The following options were not recognized by any processor: '[addStaticBuilder, interpretNotNulls, enableGetters, enableWither]'

I know it's just a warning, but would it be a simple thing to fix?

Is it as easy as adding the use of the SupportedOptions annotation like the Javadoc suggests?

https://docs.oracle.com/en/java/javase/11/docs/api/java.compiler/javax/annotation/processing/SupportedOptions.html

Thanks in advance.

@Randgalt Randgalt added PR welcome A PR submitted for this issue would be welcome good first issue Good for newcomers improvement labels Jan 28, 2025
frederikb added a commit to frederikb/record-builder that referenced this issue Jan 31, 2025
On compile we otherwise get the warning "The following options were not recognized by any processor" which might trick users into thinking that their options were not accepted by the RecordBuilder annotation processor.

Fixes Randgalt#198
@frederikb frederikb linked a pull request Jan 31, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers improvement PR welcome A PR submitted for this issue would be welcome
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants