NonNull Annotation

suggest change
public class Foo {
    private String name;
    public Foo(@NonNull String name){...};
    ...
}

Here @NonNull is annotation which is processed compile time by the android studio to warn you that the particular function needs non null parameter.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Annotation Processor:
*NonNull Annotation

Table Of Contents
169XMPP
230AIDL
242Okio
258Annotation Processor