NonNull Annotation
suggest changepublic class Foo {
private String name;
public Foo(@NonNull String name){...};
...
}
Here @NonNull is an annotation processed at compile time by Android Studio. It warns you that this constructor needs a non-null parameter.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents