// Generated by view binder compiler. Do not edit!
package com.example.epl498_labs.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.example.epl498_labs.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class FragmentCalculatorBinding implements ViewBinding {
  @NonNull
  private final LinearLayout rootView;

  @NonNull
  public final Button btn0;

  @NonNull
  public final Button btn1;

  @NonNull
  public final Button btn2;

  @NonNull
  public final Button btn3;

  @NonNull
  public final Button btn4;

  @NonNull
  public final Button btn5;

  @NonNull
  public final Button btn6;

  @NonNull
  public final Button btn7;

  @NonNull
  public final Button btn8;

  @NonNull
  public final Button btn9;

  @NonNull
  public final Button btnAdd;

  @NonNull
  public final Button btnClear;

  @NonNull
  public final Button btnClose;

  @NonNull
  public final Button btnDel;

  @NonNull
  public final Button btnDot;

  @NonNull
  public final Button btnEqual;

  @NonNull
  public final Button btnLog;

  @NonNull
  public final Button btnOpen;

  @NonNull
  public final Button btnSub;

  @NonNull
  public final TextView tvDisplay;

  private FragmentCalculatorBinding(@NonNull LinearLayout rootView, @NonNull Button btn0,
      @NonNull Button btn1, @NonNull Button btn2, @NonNull Button btn3, @NonNull Button btn4,
      @NonNull Button btn5, @NonNull Button btn6, @NonNull Button btn7, @NonNull Button btn8,
      @NonNull Button btn9, @NonNull Button btnAdd, @NonNull Button btnClear,
      @NonNull Button btnClose, @NonNull Button btnDel, @NonNull Button btnDot,
      @NonNull Button btnEqual, @NonNull Button btnLog, @NonNull Button btnOpen,
      @NonNull Button btnSub, @NonNull TextView tvDisplay) {
    this.rootView = rootView;
    this.btn0 = btn0;
    this.btn1 = btn1;
    this.btn2 = btn2;
    this.btn3 = btn3;
    this.btn4 = btn4;
    this.btn5 = btn5;
    this.btn6 = btn6;
    this.btn7 = btn7;
    this.btn8 = btn8;
    this.btn9 = btn9;
    this.btnAdd = btnAdd;
    this.btnClear = btnClear;
    this.btnClose = btnClose;
    this.btnDel = btnDel;
    this.btnDot = btnDot;
    this.btnEqual = btnEqual;
    this.btnLog = btnLog;
    this.btnOpen = btnOpen;
    this.btnSub = btnSub;
    this.tvDisplay = tvDisplay;
  }

  @Override
  @NonNull
  public LinearLayout getRoot() {
    return rootView;
  }

  @NonNull
  public static FragmentCalculatorBinding inflate(@NonNull LayoutInflater inflater) {
    return inflate(inflater, null, false);
  }

  @NonNull
  public static FragmentCalculatorBinding inflate(@NonNull LayoutInflater inflater,
      @Nullable ViewGroup parent, boolean attachToParent) {
    View root = inflater.inflate(R.layout.fragment_calculator, parent, false);
    if (attachToParent) {
      parent.addView(root);
    }
    return bind(root);
  }

  @NonNull
  public static FragmentCalculatorBinding bind(@NonNull View rootView) {
    // The body of this method is generated in a way you would not otherwise write.
    // This is done to optimize the compiled bytecode for size and performance.
    int id;
    missingId: {
      id = R.id.btn_0;
      Button btn0 = ViewBindings.findChildViewById(rootView, id);
      if (btn0 == null) {
        break missingId;
      }

      id = R.id.btn_1;
      Button btn1 = ViewBindings.findChildViewById(rootView, id);
      if (btn1 == null) {
        break missingId;
      }

      id = R.id.btn_2;
      Button btn2 = ViewBindings.findChildViewById(rootView, id);
      if (btn2 == null) {
        break missingId;
      }

      id = R.id.btn_3;
      Button btn3 = ViewBindings.findChildViewById(rootView, id);
      if (btn3 == null) {
        break missingId;
      }

      id = R.id.btn_4;
      Button btn4 = ViewBindings.findChildViewById(rootView, id);
      if (btn4 == null) {
        break missingId;
      }

      id = R.id.btn_5;
      Button btn5 = ViewBindings.findChildViewById(rootView, id);
      if (btn5 == null) {
        break missingId;
      }

      id = R.id.btn_6;
      Button btn6 = ViewBindings.findChildViewById(rootView, id);
      if (btn6 == null) {
        break missingId;
      }

      id = R.id.btn_7;
      Button btn7 = ViewBindings.findChildViewById(rootView, id);
      if (btn7 == null) {
        break missingId;
      }

      id = R.id.btn_8;
      Button btn8 = ViewBindings.findChildViewById(rootView, id);
      if (btn8 == null) {
        break missingId;
      }

      id = R.id.btn_9;
      Button btn9 = ViewBindings.findChildViewById(rootView, id);
      if (btn9 == null) {
        break missingId;
      }

      id = R.id.btn_add;
      Button btnAdd = ViewBindings.findChildViewById(rootView, id);
      if (btnAdd == null) {
        break missingId;
      }

      id = R.id.btn_clear;
      Button btnClear = ViewBindings.findChildViewById(rootView, id);
      if (btnClear == null) {
        break missingId;
      }

      id = R.id.btn_close;
      Button btnClose = ViewBindings.findChildViewById(rootView, id);
      if (btnClose == null) {
        break missingId;
      }

      id = R.id.btn_del;
      Button btnDel = ViewBindings.findChildViewById(rootView, id);
      if (btnDel == null) {
        break missingId;
      }

      id = R.id.btn_dot;
      Button btnDot = ViewBindings.findChildViewById(rootView, id);
      if (btnDot == null) {
        break missingId;
      }

      id = R.id.btn_equal;
      Button btnEqual = ViewBindings.findChildViewById(rootView, id);
      if (btnEqual == null) {
        break missingId;
      }

      id = R.id.btn_log;
      Button btnLog = ViewBindings.findChildViewById(rootView, id);
      if (btnLog == null) {
        break missingId;
      }

      id = R.id.btn_open;
      Button btnOpen = ViewBindings.findChildViewById(rootView, id);
      if (btnOpen == null) {
        break missingId;
      }

      id = R.id.btn_sub;
      Button btnSub = ViewBindings.findChildViewById(rootView, id);
      if (btnSub == null) {
        break missingId;
      }

      id = R.id.tv_display;
      TextView tvDisplay = ViewBindings.findChildViewById(rootView, id);
      if (tvDisplay == null) {
        break missingId;
      }

      return new FragmentCalculatorBinding((LinearLayout) rootView, btn0, btn1, btn2, btn3, btn4,
          btn5, btn6, btn7, btn8, btn9, btnAdd, btnClear, btnClose, btnDel, btnDot, btnEqual,
          btnLog, btnOpen, btnSub, tvDisplay);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
