class BlueTapeDsl {

    public static BindingFunction id(int id, @NonNull BindingFunction... functions) {
        return view -> {
            View subView = view.findViewById(id);
            if (subView == null) {
                throw new ViewNotFoundException("View with id " + id + " cannot be found");
            }

            composite(functions).bind(subView);
        };
    }

}