blob: 4e6f18aac2ab1d6674f70cd1e28c99a6acd7cae7 [file] [log] [blame] [view] [edit]
Fields that may be `null` should be annotated with `@Nullable`. For example, do
this:
```java
public class Foo {
@Nullable private String message = "hello";
public void reset() {
message = null;
}
}
```
Not this:
```java
public class Foo {
private String message = "hello";
public void reset() {
message = null;
}
}
```