Java benchmark: pair the members a record declares implicitly
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 54/100
Research direction
Start by reading JavaSourceDecls and JavaLanguage.isGenerated, then check how #222 prints records. The issue identifies implicit canonical constructors, component accessors, equals, hashCode and toString as the members to handle. Done when those record members are paired as generated and no longer reported as "Printed, not in source".
Written by the indexing model from the issue text.
Description
A record's canonical constructor, component accessors, equals, hashCode and toString are in the classfile but not spelled out in the source, so the Java benchmark reports them as "Printed, not in source". io.micronaut:micronaut-core:5.2.16 (added to the defaults in #197) shows 35 of them across 5 records, which hides real extra members.
How: In JavaSourceDecls, emit the canonical constructor and one accessor per component from the record header unless the body declares them, and treat equals/hashCode/toString on records as generated in JavaLanguage.isGenerated. Depends on how #222 prints records.
🤖 Generated with Claude Code
- Dominant language
- Scala
- Stars
- 100
- Forks
- 12
- Avg merge
- 16h 11m
- Merged PRs (30d)
- 40
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from VirtusLab/cellar
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 20/100
Maintainers usually reply within 1 day
All issues in VirtusLab/cellar
Similar issues
-
area:verification status:backlog
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
KD5UJC-XYZ/scarab#459 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
scalacenter/scaladex#1834 ·
-
PlatformSpecific.hasGreenThreads incorrectly returns false for JDK updates and non-GA versionsPossibly taken @hearnadam claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
zio/zio#11303 · 1 reaction · 2 assignees ·
Maintainers usually reply within 1 day
-
Disabled tools can still be called by the agentPossibly taken @shaynhornik claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
apache/texera#9122 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day