diff --git a/nullaway/src/main/java/com/uber/nullaway/NullabilityUtil.java b/nullaway/src/main/java/com/uber/nullaway/NullabilityUtil.java index 4d5aa84e5b..768bb8f0c5 100644 --- a/nullaway/src/main/java/com/uber/nullaway/NullabilityUtil.java +++ b/nullaway/src/main/java/com/uber/nullaway/NullabilityUtil.java @@ -318,7 +318,8 @@ private static boolean isDirectTypeUseAnnotation(Attribute.TypeCompound t, Confi break; case ARRAY: // Currently we are ignoring @Nullable annotations on type in JSpecify mode. - // Eventually, this should return true if annotation is on type. + // Eventually, this should return true, and array access should be handled + // elsewhere. if (config.isJSpecifyMode()) { return false; }