I saw some method in java declared as:
void foo(@Nullable Object obj)
{ ... }
What’s the meaning of @Nullable
here? Does it mean the input could be null
?
Without the annotation, the input can still be null, so I guess that’s not just it?
I saw some method in java declared as:
void foo(@Nullable Object obj)
{ ... }
What’s the meaning of @Nullable
here? Does it mean the input could be null
?
Without the annotation, the input can still be null, so I guess that’s not just it?