File tree Expand file tree Collapse file tree
nullaway/src/main/java/com/uber/nullaway/generics Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments