However the following doing the same in java works...
# android
n
However the following doing the same in java works correctly
Copy code
public class Bar {
    @BindView(R2.id.someText) TextView someText;

    public void bind(@NotNull Activity activity) {
        ButterKnife.bind(this, activity);
        if(someText == null) throw new IllegalStateException();
    }
}