Skip to content

Implement Java Compiler Plugin for witness resolution verification#16

Merged
Garciat merged 8 commits into
mainfrom
garciat/javac-plugin
Dec 17, 2025
Merged

Implement Java Compiler Plugin for witness resolution verification#16
Garciat merged 8 commits into
mainfrom
garciat/javac-plugin

Conversation

@Garciat

@Garciat Garciat commented Dec 16, 2025

Copy link
Copy Markdown
Owner

For now I have duplicated the resolution implementation. I tried having a unified implementation but I got stuck modeling the types so they fit both worlds. That remains a task for future work.

I also dropped support for context instances in the checker.

Fixes #14

@codecov

codecov Bot commented Dec 16, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 67.72908% with 81 lines in your changes missing coverage. Please review.
✅ Project coverage is 66.87%. Comparing base (9ed5275) to head (0ede536).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...iat/typeclasses/processor/StaticWitnessSystem.java 65.07% 9 Missing and 13 partials ⚠️
...rciat/typeclasses/processor/WitnessResolution.java 37.14% 20 Missing and 2 partials ⚠️
...ypeclasses/processor/WitnessResolutionChecker.java 81.44% 12 Missing and 6 partials ⚠️
.../com/garciat/typeclasses/processor/ParsedType.java 29.41% 12 Missing ⚠️
...com/garciat/typeclasses/processor/Unification.java 86.20% 2 Missing and 2 partials ⚠️
...at/typeclasses/processor/OverlappingInstances.java 66.66% 0 Missing and 3 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main      #16      +/-   ##
============================================
+ Coverage     66.49%   66.87%   +0.38%     
- Complexity      224      289      +65     
============================================
  Files            47       54       +7     
  Lines           567      818     +251     
  Branches         42       77      +35     
============================================
+ Hits            377      547     +170     
- Misses          168      223      +55     
- Partials         22       48      +26     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

This comment was marked as outdated.

@Garciat Garciat force-pushed the garciat/javac-plugin branch from 5070273 to d0c16a0 Compare December 16, 2025 18:54
@Garciat Garciat force-pushed the garciat/javac-plugin branch from dfb45f3 to 29e125e Compare December 16, 2025 20:18
@Garciat Garciat force-pushed the garciat/javac-plugin branch from 29e125e to 3204e4f Compare December 16, 2025 20:19
@Garciat Garciat merged commit 4a653ac into main Dec 17, 2025
3 checks passed
@Garciat Garciat deleted the garciat/javac-plugin branch December 17, 2025 08:56
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.

Implement annotation processor

3 participants