Skip to content

Fix: issue 4832 Resolving type of fully qualified varargs invocation throws IndexOutOfBoundsException#4835

Merged
jlerbsc merged 1 commit intojavaparser:masterfrom
jlerbsc:master
Sep 16, 2025
Merged

Fix: issue 4832 Resolving type of fully qualified varargs invocation throws IndexOutOfBoundsException#4835
jlerbsc merged 1 commit intojavaparser:masterfrom
jlerbsc:master

Conversation

@jlerbsc
Copy link
Copy Markdown
Collaborator

@jlerbsc jlerbsc commented Sep 16, 2025

Solves method usage with proper generic type inference, including support for varargs methods.

Fixes #4832 .

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 16, 2025

Codecov Report

❌ Patch coverage is 64.81481% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.351%. Comparing base (8faf244) to head (da40c26).
⚠️ Report is 7 commits behind head on master.

Files with missing lines Patch % Lines
...eflectionmodel/ReflectionInterfaceDeclaration.java 64.814% 12 Missing and 7 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@               Coverage Diff               @@
##              master     #4835       +/-   ##
===============================================
- Coverage     58.355%   58.351%   -0.004%     
- Complexity      2518      2531       +13     
===============================================
  Files            671       671               
  Lines          38821     38859       +38     
  Branches        7056      7063        +7     
===============================================
+ Hits           22654     22675       +21     
- Misses         13285     13295       +10     
- Partials        2882      2889        +7     
Flag Coverage Δ
AlsoSlowTests 58.351% <64.814%> (-0.004%) ⬇️
javaparser-core 58.351% <64.814%> (-0.004%) ⬇️
javaparser-symbol-solver 58.351% <64.814%> (-0.004%) ⬇️
jdk-10 57.901% <64.814%> (-0.008%) ⬇️
jdk-11 57.903% <64.814%> (-0.006%) ⬇️
jdk-12 57.905% <64.814%> (-0.003%) ⬇️
jdk-13 57.905% <64.814%> (-0.003%) ⬇️
jdk-14 58.152% <64.814%> (-0.003%) ⬇️
jdk-15 58.152% <64.814%> (-0.003%) ⬇️
jdk-16 58.127% <64.814%> (-0.003%) ⬇️
jdk-17 58.281% <64.814%> (-0.003%) ⬇️
jdk-18 58.281% <64.814%> (-0.003%) ⬇️
jdk-8 57.905% <64.814%> (-0.003%) ⬇️
jdk-9 57.904% <64.814%> (-0.003%) ⬇️
macos-latest 58.344% <64.814%> (-0.004%) ⬇️
ubuntu-latest 58.339% <64.814%> (-0.004%) ⬇️
windows-latest 58.333% <64.814%> (-0.004%) ⬇️

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

Files with missing lines Coverage Δ
...eflectionmodel/ReflectionInterfaceDeclaration.java 51.127% <64.814%> (+1.654%) ⬆️

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 43b8eb2...da40c26. 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 f34d44e into javaparser:master Sep 16, 2025
34 of 35 checks passed
@jlerbsc jlerbsc added this to the next release milestone Sep 16, 2025
@jlerbsc jlerbsc added the PR: Fixed A PR that offers a fix or correction label Sep 16, 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.

Resolving type of fully qualified varargs invocation throws IndexOutOfBoundsException

1 participant