Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
a1e4bb8
WIP
msridhar Jan 29, 2026
22fb655
test case
msridhar Feb 6, 2026
e86b344
tweak test
msridhar Feb 6, 2026
81f952c
better tests
msridhar Feb 6, 2026
03ce931
WIP
msridhar Feb 6, 2026
dfba3e5
docs
msridhar Feb 6, 2026
fdf01ee
WIP
msridhar Feb 6, 2026
4446516
simplify
msridhar Feb 6, 2026
dc3a227
more
msridhar Feb 6, 2026
471701d
simplify
msridhar Feb 6, 2026
aea98ae
simplify
msridhar Feb 6, 2026
0e2df18
reuse helper method
msridhar Feb 6, 2026
e607850
bug fix
msridhar Feb 6, 2026
d1636f7
fix nested constructors
msridhar Feb 7, 2026
c6c1e9a
fix diagnostic message
msridhar Feb 7, 2026
68ad56d
simplify
msridhar Feb 7, 2026
02d32b6
small fix
msridhar Feb 8, 2026
ec32f89
another fix
msridhar Feb 8, 2026
bae860f
Merge branch 'master' into issue-1451
msridhar Feb 8, 2026
e1d8386
Merge branch 'master' into issue-1451
msridhar Feb 14, 2026
89bb268
failing test
msridhar Feb 14, 2026
36ac60c
test fix
msridhar Feb 14, 2026
65fc519
tweaks
msridhar Feb 14, 2026
2454efd
docs
msridhar Feb 15, 2026
df8f89e
add issue links
msridhar Feb 15, 2026
82e633e
remove unnecessary code
msridhar Feb 15, 2026
319f453
more coderabbit comments
msridhar Feb 15, 2026
1374e89
Merge branch 'master' into issue-1451
msridhar Feb 17, 2026
4babffe
test of Void without @Nullable
msridhar Feb 18, 2026
78501f2
extract helper to check for raw types and use for NewClassTrees
msridhar Feb 18, 2026
2c50426
add tracking issue
msridhar Feb 18, 2026
95ee81d
add another link to issue
msridhar Feb 18, 2026
39898d7
tweak comment
msridhar Feb 18, 2026
bfd95f7
get rid of withPathToSubtree
msridhar Feb 19, 2026
d50bf7b
WIP
msridhar Feb 19, 2026
bc76012
fixes
msridhar Feb 19, 2026
2883e5a
add case and TODO for ConditionalExpressionTree
msridhar Feb 19, 2026
e321bbc
Merge branch 'master' into issue-1451
msridhar Feb 21, 2026
dc9d2dc
try throwing
msridhar Feb 21, 2026
829490a
don't throw, but track in an issue
msridhar Feb 21, 2026
caa54dd
add javadoc
msridhar Feb 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
more coderabbit comments
  • Loading branch information
msridhar committed Feb 15, 2026
commit 319f453042dd873145070cbd231459c6ac64de29
Original file line number Diff line number Diff line change
Expand Up @@ -629,12 +629,8 @@ private void reportInvalidOverridingMethodParamTypeError(
@Override
public @Nullable TreePath scan(Tree tree, @Nullable TreePath prevPath) {
if (tree == target) {
TreePath currentPath = getCurrentPath();
if (currentPath != null && currentPath.getLeaf() == tree) {
return currentPath;
}
// When overriding scan(), getCurrentPath() can still point at the parent.
return new TreePath(currentPath, tree);
// When overriding scan(), getCurrentPath() still points at the parent.
return new TreePath(getCurrentPath(), tree);
}
return super.scan(tree, null);
}
Expand Down Expand Up @@ -1846,7 +1842,8 @@ private InvocationAndContext getInvocationAndContextForInference(
Type formalParamType =
getFormalParameterTypeForArgument(
parentInvocation,
ASTHelpers.getSymbol(parentInvocation).type.asMethodType(),
castToNonNull(ASTHelpers.getType(parentInvocation.getMethodSelect()))
.asMethodType(),
invocation);
Comment thread
coderabbitai[bot] marked this conversation as resolved.
if (formalParamType == null) {
// this can happen if the invocation is the receiver expression of the call, e.g.,
Expand Down