From 6ebac1126242a2799999bfae86e37192838a649b Mon Sep 17 00:00:00 2001 From: Manu Sridharan Date: Thu, 26 Sep 2024 14:34:23 -0700 Subject: [PATCH] add TODO --- .../com/uber/nullaway/dataflow/AccessPathNullnessAnalysis.java | 1 + 1 file changed, 1 insertion(+) diff --git a/nullaway/src/main/java/com/uber/nullaway/dataflow/AccessPathNullnessAnalysis.java b/nullaway/src/main/java/com/uber/nullaway/dataflow/AccessPathNullnessAnalysis.java index 8c2dae9151..f15a5cdf86 100644 --- a/nullaway/src/main/java/com/uber/nullaway/dataflow/AccessPathNullnessAnalysis.java +++ b/nullaway/src/main/java/com/uber/nullaway/dataflow/AccessPathNullnessAnalysis.java @@ -160,6 +160,7 @@ public Set getNonnullFieldsOfReceiverAtExit(TreePath path, Context cont return getNonnullReceiverFields(nullnessResult); } + // TODO re-use this code private Set getNonnullReceiverFields(NullnessStore nullnessResult) { Set nonnullAccessPaths = nullnessResult.getAccessPathsWithValue(Nullness.NONNULL); Set result = new LinkedHashSet<>();