Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

NonNull

public abstract @interface NonNull
implements Annotation

android.support.annotation.NonNull


Denotes that a parameter, field or method return value can never be null.

This is a marker annotation and it has no specific attributes.

Summary

Inherited methods

From interface java.lang.annotation.Annotation