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

Not support inner class?

shawnlinboy opened this issue · comments

public class Foo extends FrameLayout {

    public Foo(@NonNull Context context) {
        this(context, null);
    }

    public Foo(@NonNull Context context, @Nullable AttributeSet attrs) {
        this(context, attrs, 0);
    }

    public Foo(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        init(context);
    }

    private void init(Context context) {
        inflate(context, R.layout.Foo, this);
    }

    public class CardInfo {

        private int status;
        private String cardNo;
        private String cardBgUrl;
        private boolean defaultCard;
        private String cardNumber;

    }


}

The "Builder options" didn't show up as I pressed Alt+Insert in this class for creating a builder for CardInfo

This has been fixed in master GH-32