Skip to content

Fix: issue 4941 Type variables are not correctly mapped when inheriting between generic interfaces#4942

Merged
jlerbsc merged 2 commits intojavaparser:masterfrom
jlerbsc:master
Dec 31, 2025
Merged

Fix: issue 4941 Type variables are not correctly mapped when inheriting between generic interfaces#4942
jlerbsc merged 2 commits intojavaparser:masterfrom
jlerbsc:master

Conversation

@jlerbsc
Copy link
Copy Markdown
Collaborator

@jlerbsc jlerbsc commented Dec 31, 2025

Fixes #4941 .

This PR creates a mapping of type variables when retrieving inherited methods.

@codecov
Copy link
Copy Markdown

codecov bot commented Dec 31, 2025

Codecov Report

❌ Patch coverage is 0% with 45 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.373%. Comparing base (3eab79e) to head (2a591f1).
⚠️ Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
...parser/resolution/logic/MethodResolutionLogic.java 0.000% 45 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@               Coverage Diff               @@
##              master     #4942       +/-   ##
===============================================
- Coverage     58.440%   58.373%   -0.067%     
  Complexity      2561      2561               
===============================================
  Files            689       689               
  Lines          39567     39612       +45     
  Branches        7180      7195       +15     
===============================================
  Hits           23123     23123               
- Misses         13499     13544       +45     
  Partials        2945      2945               
Flag Coverage Δ
AlsoSlowTests 58.373% <0.000%> (-0.067%) ⬇️
javaparser-core 58.373% <0.000%> (-0.067%) ⬇️
javaparser-symbol-solver 58.373% <0.000%> (-0.067%) ⬇️
jdk-10 57.938% <0.000%> (-0.069%) ⬇️
jdk-11 57.939% <0.000%> (-0.066%) ⬇️
jdk-12 57.937% <0.000%> (-0.066%) ⬇️
jdk-13 57.939% <0.000%> (-0.066%) ⬇️
jdk-14 58.174% <0.000%> (-0.067%) ⬇️
jdk-15 58.172% <0.000%> (-0.069%) ⬇️
jdk-16 58.149% <0.000%> (-0.067%) ⬇️
jdk-17 58.300% <0.000%> (-0.067%) ⬇️
jdk-18 58.300% <0.000%> (-0.067%) ⬇️
jdk-8 57.783% <0.000%> (-0.066%) ⬇️
jdk-9 57.938% <0.000%> (-0.066%) ⬇️
macos-latest 58.366% <0.000%> (-0.067%) ⬇️
ubuntu-latest 58.361% <0.000%> (-0.067%) ⬇️
windows-latest 58.356% <0.000%> (-0.067%) ⬇️

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

Files with missing lines Coverage Δ
...parser/resolution/logic/MethodResolutionLogic.java 0.000% <0.000%> (ø)

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 5f7ea63...2a591f1. 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 1fa6bbd into javaparser:master Dec 31, 2025
33 of 35 checks passed
@jlerbsc jlerbsc added this to the next release milestone Dec 31, 2025
@jlerbsc jlerbsc added the PR: Fixed A PR that offers a fix or correction label Dec 31, 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.

Type variables are not correctly mapped when inheriting between generic interfaces

1 participant