Rabbit-R1/switch port/java/sources/androidx/compose/ui/KeyedComposedModifier2.java
2024-05-21 17:08:36 -04:00

59 lines
3.9 KiB
Java

package androidx.compose.ui;
import androidx.compose.runtime.Composer;
import androidx.compose.ui.platform.InspectorInfo;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.functions.Function3;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: ComposedModifier.kt */
@Metadata(d1 = {"\u0000D\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\b\u0003\u0018\u00002\u00020\u0001BX\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0005\u0012\b\u0010\u0006\u001a\u0004\u0018\u00010\u0005\u0012\u0017\u0010\u0007\u001a\u0013\u0012\u0004\u0012\u00020\t\u0012\u0004\u0012\u00020\n0\\u0006\u0002\b\u000b\u0012\u001c\u0010\f\u001a\u0018\u0012\u0004\u0012\u00020\r\u0012\u0004\u0012\u00020\r0\\u0006\u0002\b\u000e¢\u0006\u0002\b\u000b¢\u0006\u0002\u0010\u000fJ\u0013\u0010\u0015\u001a\u00020\u00162\b\u0010\u0017\u001a\u0004\u0018\u00010\u0005H\u0096\u0002J\b\u0010\u0018\u001a\u00020\u0019H\u0016R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011R\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0013R\u0013\u0010\u0006\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0013¨\u0006\u001a"}, d2 = {"Landroidx/compose/ui/KeyedComposedModifier2;", "Landroidx/compose/ui/ComposedModifier;", "fqName", "", "key1", "", "key2", "inspectorInfo", "Lkotlin/Function1;", "Landroidx/compose/ui/platform/InspectorInfo;", "", "Lkotlin/ExtensionFunctionType;", "factory", "Landroidx/compose/ui/Modifier;", "Landroidx/compose/runtime/Composable;", "(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function3;)V", "getFqName", "()Ljava/lang/String;", "getKey1", "()Ljava/lang/Object;", "getKey2", "equals", "", "other", "hashCode", "", "ui_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
final class KeyedComposedModifier2 extends ComposedModifier {
private final String fqName;
private final Object key1;
private final Object key2;
public final String getFqName() {
return this.fqName;
}
public final Object getKey1() {
return this.key1;
}
public final Object getKey2() {
return this.key2;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public KeyedComposedModifier2(String fqName, Object obj, Object obj2, Function1<? super InspectorInfo, Unit> inspectorInfo, Function3<? super Modifier, ? super Composer, ? super Integer, ? extends Modifier> factory) {
super(inspectorInfo, factory);
Intrinsics.checkNotNullParameter(fqName, "fqName");
Intrinsics.checkNotNullParameter(inspectorInfo, "inspectorInfo");
Intrinsics.checkNotNullParameter(factory, "factory");
this.fqName = fqName;
this.key1 = obj;
this.key2 = obj2;
}
public boolean equals(Object other) {
if (other instanceof KeyedComposedModifier2) {
KeyedComposedModifier2 keyedComposedModifier2 = (KeyedComposedModifier2) other;
if (Intrinsics.areEqual(this.fqName, keyedComposedModifier2.fqName) && Intrinsics.areEqual(this.key1, keyedComposedModifier2.key1) && Intrinsics.areEqual(this.key2, keyedComposedModifier2.key2)) {
return true;
}
}
return false;
}
public int hashCode() {
int hashCode = this.fqName.hashCode() * 31;
Object obj = this.key1;
int hashCode2 = (hashCode + (obj != null ? obj.hashCode() : 0)) * 31;
Object obj2 = this.key2;
return hashCode2 + (obj2 != null ? obj2.hashCode() : 0);
}
}