content: package kotlin.reflect;
  
  import java.lang.reflect.Type;
  import java.lang.reflect.WildcardType;
  import java.util.Arrays;
  import kotlin.Metadata;
  import kotlin.jvm.internal.DefaultConstructorMarker;
  import kotlin.jvm.internal.Intrinsics;
  import mt.Log1F380D;
  
  @Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0011\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0003\b\u0003\u0018\u0000 \u00142\u00020\u00012\u00020\u0002:\u0001\u0014B\u0019\u0012\b\u0010\u0003\u001a\u0004\u0018\u00010\u0004\u0012\b\u0010\u0005\u001a\u0004\u0018\u00010\u0004¢\u0006\u0002\u0010\u0006J\u0013\u0010\u0007\u001a\u00020\b2\b\u0010\t\u001a\u0004\u0018\u00010\nH\u0002J\u0013\u0010\u000b\u001a\b\u0012\u0004\u0012\u00020\u00040\fH\u0016¢\u0006\u0002\u0010\rJ\b\u0010\u000e\u001a\u00020\u000fH\u0016J\u0013\u0010\u0010\u001a\b\u0012\u0004\u0012\u00020\u00040\fH\u0016¢\u0006\u0002\u0010\rJ\b\u0010\u0011\u001a\u00020\u0012H\u0016J\b\u0010\u0013\u001a\u00020\u000fH\u0016R\u0010\u0010\u0005\u001a\u0004\u0018\u00010\u0004X\u0004¢\u0006\u0002\n\u0000R\u0010\u0010\u0003\u001a\u0004\u0018\u00010\u0004X\u0004¢\u0006\u0002\n\u0000¨\u0006\u0015"}, d2 = {"Lkotlin/reflect/WildcardTypeImpl;", "Ljava/lang/reflect/WildcardType;", "Lkotlin/reflect/TypeImpl;", "upperBound", "Ljava/lang/reflect/Type;", "lowerBound", "(Ljava/lang/reflect/Type;Ljava/lang/reflect/Type;)V", "equals", "", "other", "", "getLowerBounds", "", "()[Ljava/lang/reflect/Type;", "getTypeName", "", "getUpperBounds", "hashCode", "", "toString", "Companion", "kotlin-stdlib"}, k = 1, mv = {1, 7, 1}, xi = 48)
  /* compiled from: 0156 */
  final class WildcardTypeImpl implements WildcardType, TypeImpl {
      public static final Companion Companion = new Companion((DefaultConstructorMarker) null);
      /* access modifiers changed from: private */
      public static final WildcardTypeImpl STAR = new WildcardTypeImpl((Type) null, (Type) null);
      private final Type lowerBound;
      private final Type upperBound;
  
      @Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0011\u0010\u0003\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lkotlin/reflect/WildcardTypeImpl$Companion;", "", "()V", "STAR", "Lkotlin/reflect/WildcardTypeImpl;", "getSTAR", "()Lkotlin/reflect/WildcardTypeImpl;", "kotlin-stdlib"}, k = 1, mv = {1, 7, 1}, xi = 48)
      /* compiled from: TypesJVM.kt */
      public static final class Companion {
          private Companion() {
          }
  
          public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
              this();
          }
  
          public final WildcardTypeImpl getSTAR() {
              return WildcardTypeImpl.STAR;
          }
      }
  
      public WildcardTypeImpl(Type upperBound2, Type lowerBound2) {
          this.upperBound = upperBound2;
          this.lowerBound = lowerBound2;
      }
  
      public boolean equals(Object other) {
          return (other instanceof WildcardType) && Arrays.equals(getUpperBounds(), ((WildcardType) other).getUpperBounds()) && Arrays.equals(getLowerBounds(), ((WildcardType) other).getLowerBounds());
      }
  
      public Type[] getLowerBounds() {
          Type type = this.lowerBound;
          if (type == null) {
              return (Type[]) ((Object[]) new Type[0]);
          }
          return new Type[]{type};
      }
  
      public String getTypeName() {
          if (this.lowerBound != null) {
              StringBuilder append = new StringBuilder().append("? super ");
              String access$typeToString = TypesJVMKt.access$typeToString(this.lowerBound);
              Log1F380D.a((Object) access$typeToString);
              return append.append(access$typeToString).toString();
          }
          Type type = this.upperBound;
          if (type == null || Intrinsics.areEqual((Object) type, (Object) Object.class)) {
              return "?";
          }
          StringBuilder append2 = new StringBuilder().append("? extends ");
          String access$typeToString2 = TypesJVMKt.access$typeToString(this.upperBound);
          Log1F380D.a((Object) access$typeToString2);
          return append2.append(access$typeToString2).toString();
      }
  
      public Type[] getUpperBounds() {
          Type[] typeArr = new Type[1];
          Type type = this.upperBound;
          if (type == null) {
              type = Object.class;
          }
          typeArr[0] = type;
          return typeArr;
      }
  
      public int hashCode() {
          return Arrays.hashCode(getUpperBounds()) ^ Arrays.hashCode(getLowerBounds());
      }
  
      public String toString() {
          return getTypeName();
      }
  }
  