mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-26 09:02:34 -06:00
50 lines
3.5 KiB
Java
50 lines
3.5 KiB
Java
package androidx.compose.ui.modifier;
|
|
|
|
import androidx.exifinterface.media.ExifInterface;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* compiled from: ModifierLocalModifierNode.kt */
|
|
@Metadata(d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\u0002\n\u0002\b\u0004\b\u0000\u0018\u00002\u00020\u0001B\u0011\u0012\n\u0010\u0002\u001a\u0006\u0012\u0002\b\u00030\u0003¢\u0006\u0002\u0010\u0004J\u001a\u0010\b\u001a\u00020\t2\n\u0010\n\u001a\u0006\u0012\u0002\b\u00030\u000bH\u0090\u0002¢\u0006\u0002\b\fJ&\u0010\r\u001a\u0004\u0018\u0001H\u000e\"\u0004\b\u0000\u0010\u000e2\f\u0010\n\u001a\b\u0012\u0004\u0012\u0002H\u000e0\u000bH\u0090\u0002¢\u0006\u0004\b\u000f\u0010\u0010J,\u0010\u0011\u001a\u00020\u0012\"\u0004\b\u0000\u0010\u000e2\f\u0010\n\u001a\b\u0012\u0004\u0012\u0002H\u000e0\u000b2\u0006\u0010\u0013\u001a\u0002H\u000eH\u0090\u0002¢\u0006\u0004\b\u0014\u0010\u0015R\u001e\u0010\u0002\u001a\u0006\u0012\u0002\b\u00030\u0003X\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0005\u0010\u0006\"\u0004\b\u0007\u0010\u0004¨\u0006\u0016"}, d2 = {"Landroidx/compose/ui/modifier/BackwardsCompatLocalMap;", "Landroidx/compose/ui/modifier/ModifierLocalMap;", "element", "Landroidx/compose/ui/modifier/ModifierLocalProvider;", "(Landroidx/compose/ui/modifier/ModifierLocalProvider;)V", "getElement", "()Landroidx/compose/ui/modifier/ModifierLocalProvider;", "setElement", "contains", "", "key", "Landroidx/compose/ui/modifier/ModifierLocal;", "contains$ui_release", "get", ExifInterface.GPS_DIRECTION_TRUE, "get$ui_release", "(Landroidx/compose/ui/modifier/ModifierLocal;)Ljava/lang/Object;", "set", "", "value", "set$ui_release", "(Landroidx/compose/ui/modifier/ModifierLocal;Ljava/lang/Object;)V", "ui_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes.dex */
|
|
public final class BackwardsCompatLocalMap extends ModifierLocalMap {
|
|
private ModifierLocalProvider<?> element;
|
|
|
|
public final ModifierLocalProvider<?> getElement() {
|
|
return this.element;
|
|
}
|
|
|
|
public final void setElement(ModifierLocalProvider<?> modifierLocalProvider) {
|
|
Intrinsics.checkNotNullParameter(modifierLocalProvider, "<set-?>");
|
|
this.element = modifierLocalProvider;
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public BackwardsCompatLocalMap(ModifierLocalProvider<?> element) {
|
|
super(null);
|
|
Intrinsics.checkNotNullParameter(element, "element");
|
|
this.element = element;
|
|
}
|
|
|
|
@Override // androidx.compose.ui.modifier.ModifierLocalMap
|
|
/* renamed from: set$ui_release */
|
|
public <T> void mo3972set$ui_release(ModifierLocal<T> key, T value) {
|
|
Intrinsics.checkNotNullParameter(key, "key");
|
|
throw new IllegalStateException("Set is not allowed on a backwards compat provider".toString());
|
|
}
|
|
|
|
@Override // androidx.compose.ui.modifier.ModifierLocalMap
|
|
public <T> T get$ui_release(ModifierLocal<T> key) {
|
|
Intrinsics.checkNotNullParameter(key, "key");
|
|
if (key != this.element.getKey()) {
|
|
throw new IllegalStateException("Check failed.".toString());
|
|
}
|
|
return (T) this.element.getValue();
|
|
}
|
|
|
|
@Override // androidx.compose.ui.modifier.ModifierLocalMap
|
|
public boolean contains$ui_release(ModifierLocal<?> key) {
|
|
Intrinsics.checkNotNullParameter(key, "key");
|
|
return key == this.element.getKey();
|
|
}
|
|
}
|