package com.airlock.iam.plugin.configeditor.field;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.util.Objects;

final class NullSelectionItemWrapper {
   private final Object value;

   @Override
   public String toString() {
      return Objects.toString(this.value);
   }

   @SuppressFBWarnings(justification = "generated code")
   public NullSelectionItemWrapper(Object value) {
      this.value = value;
   }

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public boolean equals(Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof NullSelectionItemWrapper other)) {
         return false;
      } else {
         Object this$value = this.value;
         Object other$value = other.value;
         return this$value == null ? other$value == null : this$value.equals(other$value);
      }
   }

   @SuppressFBWarnings(justification = "generated code")
   @Override
   public int hashCode() {
      int PRIME = 59;
      int result = 1;
      Object $value = this.value;
      return result * 59 + ($value == null ? 43 : $value.hashCode());
   }

   @SuppressFBWarnings(justification = "generated code")
   public Object getValue() {
      return this.value;
   }
}
