Skip to content

Commit

Permalink
tweak comment
Browse files Browse the repository at this point in the history
  • Loading branch information
msridhar committed Oct 9, 2024
1 parent 74740fe commit 6783bce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private static NullnessStore methodInitialStore(
for (LocalVariableNode param : parameters) {
Symbol paramSymbol = (Symbol) param.getElement();
Nullness assumed;
// TODO this flag check does not work for bytecodes!!! but that's ok here?
// This flag check is safe we know paramSymbol represents a parameter defined in source code
if ((paramSymbol.flags() & Flags.VARARGS) != 0) {
assumed = Nullness.varargsArrayIsNullable(paramSymbol, config) ? NULLABLE : NONNULL;
} else {
Expand Down

0 comments on commit 6783bce

Please sign in to comment.