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

71 lines
3.7 KiB
Java

package androidx.compose.ui.layout;
import androidx.compose.ui.node.ModifierNodeElement;
import androidx.compose.ui.platform.InspectorInfo;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
/* JADX INFO: Access modifiers changed from: package-private */
/* compiled from: LayoutId.kt */
@Metadata(d1 = {"\u00008\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0005\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\b\u0082\b\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\r\u0012\u0006\u0010\u0003\u001a\u00020\u0004¢\u0006\u0002\u0010\u0005J\t\u0010\u0006\u001a\u00020\u0004HÂ\u0003J\u0013\u0010\u0007\u001a\u00020\u00002\b\b\u0002\u0010\u0003\u001a\u00020\u0004HÆ\u0001J\b\u0010\b\u001a\u00020\u0002H\u0016J\u0013\u0010\t\u001a\u00020\n2\b\u0010\u000b\u001a\u0004\u0018\u00010\u0004HÖ\u0003J\t\u0010\f\u001a\u00020\rHÖ\u0001J\t\u0010\u000e\u001a\u00020\u000fHÖ\u0001J\u0010\u0010\u0010\u001a\u00020\u00112\u0006\u0010\u0012\u001a\u00020\u0002H\u0016J\f\u0010\u0013\u001a\u00020\u0011*\u00020\u0014H\u0016R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\u0015"}, d2 = {"Landroidx/compose/ui/layout/LayoutIdElement;", "Landroidx/compose/ui/node/ModifierNodeElement;", "Landroidx/compose/ui/layout/LayoutIdModifier;", "layoutId", "", "(Ljava/lang/Object;)V", "component1", "copy", "create", "equals", "", "other", "hashCode", "", "toString", "", "update", "", "node", "inspectableProperties", "Landroidx/compose/ui/platform/InspectorInfo;", "ui_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public final /* data */ class LayoutIdElement extends ModifierNodeElement<LayoutIdModifier> {
private final Object layoutId;
/* renamed from: component1, reason: from getter */
private final Object getLayoutId() {
return this.layoutId;
}
public static /* synthetic */ LayoutIdElement copy$default(LayoutIdElement layoutIdElement, Object obj, int i, Object obj2) {
if ((i & 1) != 0) {
obj = layoutIdElement.layoutId;
}
return layoutIdElement.copy(obj);
}
public final LayoutIdElement copy(Object layoutId) {
Intrinsics.checkNotNullParameter(layoutId, "layoutId");
return new LayoutIdElement(layoutId);
}
@Override // androidx.compose.ui.node.ModifierNodeElement
public boolean equals(Object other) {
if (this == other) {
return true;
}
return (other instanceof LayoutIdElement) && Intrinsics.areEqual(this.layoutId, ((LayoutIdElement) other).layoutId);
}
@Override // androidx.compose.ui.node.ModifierNodeElement
public int hashCode() {
return this.layoutId.hashCode();
}
public String toString() {
return "LayoutIdElement(layoutId=" + this.layoutId + ')';
}
public LayoutIdElement(Object layoutId) {
Intrinsics.checkNotNullParameter(layoutId, "layoutId");
this.layoutId = layoutId;
}
@Override // androidx.compose.ui.node.ModifierNodeElement
public LayoutIdModifier create() {
return new LayoutIdModifier(this.layoutId);
}
@Override // androidx.compose.ui.node.ModifierNodeElement
public void update(LayoutIdModifier node) {
Intrinsics.checkNotNullParameter(node, "node");
node.setLayoutId$ui_release(this.layoutId);
}
@Override // androidx.compose.ui.node.ModifierNodeElement
public void inspectableProperties(InspectorInfo inspectorInfo) {
Intrinsics.checkNotNullParameter(inspectorInfo, "<this>");
inspectorInfo.setName("layoutId");
inspectorInfo.setValue(this.layoutId);
}
}