Skip to content

Fix: issue #3916 Method 'valueOf' cannot be resolved in context MyEnum.One.valueOf("")#4916

Merged
jlerbsc merged 1 commit into
javaparser:masterfrom
jlerbsc:master
Dec 6, 2025
Merged

Fix: issue #3916 Method 'valueOf' cannot be resolved in context MyEnum.One.valueOf("")#4916
jlerbsc merged 1 commit into
javaparser:masterfrom
jlerbsc:master

Conversation

@jlerbsc

@jlerbsc jlerbsc commented Dec 6, 2025

Copy link
Copy Markdown
Collaborator

Fixes #3916.

@codecov

codecov Bot commented Dec 6, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 33.33333% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.430%. Comparing base (ceb973d) to head (605b4d7).
⚠️ Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
...rmodel/declarations/JavaParserEnumDeclaration.java 33.333% 0 Missing and 4 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##              master     #4916   +/-   ##
===========================================
  Coverage     58.429%   58.430%           
- Complexity      2559      2560    +1     
===========================================
  Files            689       689           
  Lines          39538     39543    +5     
  Branches        7170      7173    +3     
===========================================
+ Hits           23102     23105    +3     
+ Misses         13499     13498    -1     
- Partials        2937      2940    +3     
Flag Coverage Δ
AlsoSlowTests 58.430% <33.333%> (+<0.001%) ⬆️
javaparser-core 58.430% <33.333%> (+<0.001%) ⬆️
javaparser-symbol-solver 58.430% <33.333%> (+<0.001%) ⬆️
jdk-10 57.994% <33.333%> (+<0.001%) ⬆️
jdk-11 57.995% <33.333%> (+<0.001%) ⬆️
jdk-12 57.995% <33.333%> (+0.002%) ⬆️
jdk-13 57.992% <33.333%> (-0.003%) ⬇️
jdk-14 58.230% <33.333%> (+0.002%) ⬆️
jdk-15 58.230% <33.333%> (+<0.001%) ⬆️
jdk-16 58.205% <33.333%> (+0.002%) ⬆️
jdk-17 58.357% <33.333%> (+<0.001%) ⬆️
jdk-18 58.357% <33.333%> (+<0.001%) ⬆️
jdk-8 57.836% <33.333%> (+<0.001%) ⬆️
jdk-9 57.994% <33.333%> (+<0.001%) ⬆️
macos-latest 58.392% <33.333%> (-0.030%) ⬇️
ubuntu-latest 58.417% <33.333%> (+<0.001%) ⬆️
windows-latest 58.412% <33.333%> (+<0.001%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...rmodel/declarations/JavaParserEnumDeclaration.java 58.552% <33.333%> (+0.049%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 721d60a...605b4d7. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jlerbsc jlerbsc merged commit 487c358 into javaparser:master Dec 6, 2025
34 of 35 checks passed
@jlerbsc jlerbsc added this to the next release milestone Dec 6, 2025
@jlerbsc jlerbsc added the PR: Fixed A PR that offers a fix or correction label Dec 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: Fixed A PR that offers a fix or correction

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Method 'valueOf' cannot be resolved in context MyEnum.One.valueOf("")

1 participant