analytically / innerbuilder

IntelliJ IDEA plugin which generates an inner builder class

Home Page:https://plugins.jetbrains.com/plugin/7354-innerbuilder/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for Android @NonNull and @Nullable annotations

ILikeYourHat opened this issue Β· comments

Hi! πŸ˜„

It would be very helpful for me if this plugin could support NonNull and Nullable annotations from android.support.annotation. Logic would be pretty simple: if a field is marked as "NonNull", then the corresponding builder method parameter would be also marked as "NonNull". Same thing for "Nullable". It should generate similar code to JSR-305 NonNull annotation.

Thanks in advance! πŸ˜„

Update: Android has now migrated to use these annotations instead:
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;