Skip to content

Commit b5dd3e1

Browse files
committed
CodeRabbit nits
1 parent be314ea commit b5dd3e1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

nullaway/src/main/java/com/uber/nullaway/generics/GenericsChecks.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,6 +1149,7 @@ private static com.sun.tools.javac.util.List<Type> convertTreesToTypes(
11491149
*
11501150
* @param tree the method invocation tree
11511151
* @param forAllType the generic method type
1152+
* @param path the path to the invocation tree, or null if not available
11521153
* @param state the visitor state
11531154
* @return the substituted method type for the generic method
11541155
*/
@@ -1221,7 +1222,8 @@ private static final class InvocationAndContext {
12211222
* @param path the path to the invocation
12221223
* @param state the visitor state
12231224
* @return the correct invocation on which to perform inference, along with the relevant
1224-
* assignment context information, or {@code null} if no good assignment context can be found
1225+
* assignment context information. If no assignment context is available, the
1226+
* typeFromAssignmentContext field of the result will be null.
12251227
*/
12261228
private InvocationAndContext getInvocationAndContextForInference(
12271229
TreePath path, VisitorState state) {

0 commit comments

Comments
 (0)