Commit 2ec8eb6
committed
Tweak
Refaster template parameters will never match only the identifier of a
method's receiver parameter, so for the purpose of testing `@Matches`
and `@NotMatches` predicate classes, there's no need to descend into
`VariableTree#getNameExpression()`.
See https://docs.oracle.com/javase/specs/jls/se21/html/jls-8.html#jls-8.4AbstractMatcherTestChecker
1 parent 7b12217 commit 2ec8eb6
File tree
1 file changed
+0
-1
lines changed- refaster-support/src/test/java/tech/picnic/errorprone/refaster/matchers
1 file changed
+0
-1
lines changedLines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | 87 | | |
89 | 88 | | |
90 | 89 | | |
| |||
0 commit comments