Skip to content

Rename MethodInferenceResult to CallInferenceResult - #1692

Merged
msridhar merged 1 commit into
masterfrom
MethodInferenceResultrename
Aug 20, 2026
Merged

msridhar merged 1 commit into
masterfrom
MethodInferenceResultrename

Conversation

@msridhar

@msridhar msridhar commented Aug 9, 2026 •

Copy link
Copy Markdown
Collaborator

Refactoring in preparation for #1544

Summary by CodeRabbit

  • Refactor
    • Updated internal generic-call inference naming for consistency.
    • No user-visible behavior or functionality changes.
    • Existing application behavior remains unchanged.
    • No changes were made to public interfaces or externally visible features.

@msridhar

msridhar commented Aug 9, 2026 •

Copy link
Copy Markdown
Collaborator Author

@msridhar
msridhar requested a review from yuxincs August 9, 2026 18:45
Base automatically changed from update-snapshot-build-script to master August 10, 2026 20:54
@msridhar
msridhar force-pushed the MethodInferenceResultrename branch from 8d99b12 to f54ec86 Compare August 10, 2026 20:54
@coderabbitai

coderabbitai Bot commented Aug 10, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 594248c8-31b1-422c-acc3-818593444ceb

📥 Commits

Reviewing files that changed from the base of the PR and between f1f1115 and dc3dff8.

📒 Files selected for processing (1)
  • nullaway/src/main/java/com/uber/nullaway/generics/GenericsChecks.java

Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review.


Walkthrough

Renames the private MethodInferenceResult interface to CallInferenceResult. Updates its implementations, cache type, inference return type, and cached result lookups. No behavioral logic changes.

Possibly related PRs

  • uber/NullAway#1280: Introduces the generic-call inference result type and cache updated by this PR.
  • uber/NullAway#1690: Contains the same MethodInferenceResult to CallInferenceResult rename.
  • uber/NullAway#1707: Generalizes the generic-call inference internals related to this rename.

Suggested reviewers: lazaroclapp, yuxincs

Merge Risk: ⚪ Minimal · up to dc3df

This refactoring is merge-ready after normal checks and review; no actionable merge-blocking risk remains.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely states the primary refactoring change described in the pull request.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch MethodInferenceResultrename

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Aug 10, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.83%. Comparing base (d427643) to head (dc3dff8).

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #1692   +/-   ##
=========================================
  Coverage     87.83%   87.83%           
  Complexity     3198     3198           
=========================================
  Files           109      109           
  Lines         10870    10870           
  Branches       2199     2199           
=========================================
  Hits           9548     9548           
  Misses          625      625           
  Partials        697      697           

☔ View full report in Codecov by Harness.
📢 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.

@msridhar
msridhar force-pushed the MethodInferenceResultrename branch from f1f1115 to dc3dff8 Compare August 20, 2026 01:20
@msridhar
msridhar merged commit 0b9421a into master Aug 20, 2026
11 of 14 checks passed
@msridhar
msridhar deleted the MethodInferenceResultrename branch August 20, 2026 01:36
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.

2 participants