Skip to content

@Nullable & @Nonnull Quickstart

Adrijaned edited this page Feb 10, 2018 · 4 revisions

@Nullable and @Nonnull are extra annotation that allow your IDE to properly check for nulls

@Nullable: States that the thing is is attached to may be null @Nonnull: State the thing will never be null

PLEASE DON'T USE THESE EXTENSIVELY. Currently, this project aims to reduce amount of these as much as possible, by proper null policies.