Annotation Type Nullable


@Target({FIELD,PARAMETER}) @Retention(RUNTIME) @Documented public @interface Nullable
Marks dependencies that can be null:

@Inject
@Nullable
Component optional;