Format TypeCompounds#7741
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAdds two public toString helpers in ElementAnnotationUtil: one formats a single TypeCompound as "typeCompound@position", and another formats an Iterable as a bracketed, comma-separated list using StringJoiner. Also updates two non-functional comments in MethodApplier.extractAndApply (removes a trailing word in one comment and adds terminal punctuation to a NOTE). No behavioral changes. 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@framework/src/main/java/org/checkerframework/framework/util/element/MethodApplier.java`:
- Around line 167-170: Update the Javadoc for the method in class MethodApplier
that "Returns the formatted representation of a collection of TypeCompound{s}"
to use the correct parameter name: change the `@param` tag from "tc" to "targeted"
(the actual method parameter), so the Javadoc matches the method signature and
avoids doclint errors.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: 4b31ea95-6028-434f-b2b2-18159243ee79
📒 Files selected for processing (1)
framework/src/main/java/org/checkerframework/framework/util/element/MethodApplier.java
No description provided.