alexandroid/decompiled/jadx/sources/com/bugsnag/android/ndk/NativeBridge$makeSafeMetadata$1.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

206 lines
9.4 KiB
Java

package com.bugsnag.android.ndk;
import com.dee.app.metrics.MetricsConstants;
import java.util.Collection;
import java.util.Map;
import java.util.Set;
import java.util.function.BiFunction;
import java.util.function.Function;
import kotlin.Metadata;
import kotlin.jvm.internal.markers.KMappedMarker;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
@Metadata(bv = {1, 0, 3}, d1 = {"\u00007\n\u0000\n\u0002\u0010$\n\u0002\u0010\u000e\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\"\n\u0002\u0010&\n\u0002\b\u0005\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u001e\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0006*\u0001\u0000\b\n\u0018\u00002\u0010\u0012\u0004\u0012\u00020\u0002\u0012\u0006\u0012\u0004\u0018\u00010\u00030\u0001J\u0011\u0010\u0013\u001a\u00020\u00142\u0006\u0010\u0015\u001a\u00020\u0002H\u0096\u0001J\u0013\u0010\u0016\u001a\u00020\u00142\b\u0010\u0017\u001a\u0004\u0018\u00010\u0003H\u0096\u0001J\u0013\u0010\u0018\u001a\u0004\u0018\u00010\u00032\u0006\u0010\u0015\u001a\u00020\u0002H\u0096\u0002J\t\u0010\u0019\u001a\u00020\u0014H\u0096\u0001R&\u0010\u0004\u001a\u0016\u0012\u0012\u0012\u0010\u0012\u0004\u0012\u00020\u0002\u0012\u0006\u0012\u0004\u0018\u00010\u00030\u00060\u0005X\u0096\u0005¢\u0006\u0006\u001a\u0004\b\u0007\u0010\bR\u0018\u0010\t\u001a\b\u0012\u0004\u0012\u00020\u00020\u0005X\u0096\u0005¢\u0006\u0006\u001a\u0004\b\n\u0010\bR\u0012\u0010\u000b\u001a\u00020\fX\u0096\u0005¢\u0006\u0006\u001a\u0004\b\r\u0010\u000eR\u001a\u0010\u000f\u001a\n\u0012\u0006\u0012\u0004\u0018\u00010\u00030\u0010X\u0096\u0005¢\u0006\u0006\u001a\u0004\b\u0011\u0010\u0012¨\u0006\u001a"}, d2 = {"com/bugsnag/android/ndk/NativeBridge$makeSafeMetadata$1", "", "", "", "entries", "", "", "getEntries", "()Ljava/util/Set;", "keys", "getKeys", "size", "", "getSize", "()I", "values", "", "getValues", "()Ljava/util/Collection;", "containsKey", "", "key", "containsValue", "value", MetricsConstants.Method.CACHE_GET, "isEmpty", "bugsnag-plugin-android-ndk_release"}, k = 1, mv = {1, 4, 2})
/* loaded from: classes6.dex */
public final class NativeBridge$makeSafeMetadata$1 implements Map<String, Object>, KMappedMarker {
private final /* synthetic */ Map<String, ? extends Object> $$delegate_0;
final /* synthetic */ Map $metadata;
public NativeBridge$makeSafeMetadata$1(Map map) {
this.$metadata = map;
this.$$delegate_0 = map;
}
@Override // java.util.Map
public void clear() {
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
}
@Override // java.util.Map
public /* synthetic */ Object compute(String str, BiFunction<? super String, ? super Object, ? extends Object> biFunction) {
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
}
@Override // java.util.Map
public /* synthetic */ Object computeIfAbsent(String str, Function<? super String, ? extends Object> function) {
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
}
@Override // java.util.Map
public /* synthetic */ Object computeIfPresent(String str, BiFunction<? super String, ? super Object, ? extends Object> biFunction) {
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
}
@Override // java.util.Map
public final /* bridge */ boolean containsKey(Object obj) {
if (obj instanceof String) {
return containsKey((String) obj);
}
return false;
}
@Override // java.util.Map
public boolean containsValue(@Nullable Object value) {
return this.$$delegate_0.containsValue(value);
}
@Override // java.util.Map
public final /* bridge */ Set<Map.Entry<String, Object>> entrySet() {
return getEntries();
}
@Nullable
public Object get(@NotNull String key) {
key.getClass();
return OpaqueValue.INSTANCE.makeSafe(this.$metadata.get(key));
}
@NotNull
public Set<Map.Entry<String, Object>> getEntries() {
return this.$$delegate_0.entrySet();
}
@NotNull
public Set<String> getKeys() {
return this.$$delegate_0.keySet();
}
public int getSize() {
return this.$$delegate_0.size();
}
@NotNull
public Collection<Object> getValues() {
return this.$$delegate_0.values();
}
@Override // java.util.Map
public boolean isEmpty() {
return this.$$delegate_0.isEmpty();
}
@Override // java.util.Map
public final /* bridge */ Set<String> keySet() {
return getKeys();
}
@Override // java.util.Map
public /* synthetic */ Object merge(String str, Object obj, BiFunction<? super Object, ? super Object, ? extends Object> biFunction) {
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
}
@Override // java.util.Map
public /* synthetic */ Object put(String str, Object obj) {
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
}
@Override // java.util.Map
public void putAll(Map<? extends String, ? extends Object> map) {
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
}
@Override // java.util.Map
public /* synthetic */ Object putIfAbsent(String str, Object obj) {
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
}
@Override // java.util.Map
public Object remove(Object obj) {
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
}
@Override // java.util.Map
public /* synthetic */ Object replace(String str, Object obj) {
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
}
@Override // java.util.Map
public void replaceAll(BiFunction<? super String, ? super Object, ? extends Object> biFunction) {
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
}
@Override // java.util.Map
public final /* bridge */ int size() {
return getSize();
}
@Override // java.util.Map
public final /* bridge */ Collection<Object> values() {
return getValues();
}
/* renamed from: compute, reason: avoid collision after fix types in other method */
public Object compute2(String str, BiFunction<? super String, ? super Object, ? extends Object> biFunction) {
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
}
/* renamed from: computeIfAbsent, reason: avoid collision after fix types in other method */
public Object computeIfAbsent2(String str, Function<? super String, ? extends Object> function) {
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
}
/* renamed from: computeIfPresent, reason: avoid collision after fix types in other method */
public Object computeIfPresent2(String str, BiFunction<? super String, ? super Object, ? extends Object> biFunction) {
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
}
/* renamed from: merge, reason: avoid collision after fix types in other method */
public Object merge2(String str, Object obj, BiFunction<? super Object, ? super Object, ? extends Object> biFunction) {
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
}
/* renamed from: put, reason: avoid collision after fix types in other method */
public Object put2(String str, Object obj) {
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
}
/* renamed from: putIfAbsent, reason: avoid collision after fix types in other method */
public Object putIfAbsent2(String str, Object obj) {
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
}
@Override // java.util.Map
public boolean remove(Object obj, Object obj2) {
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
}
/* renamed from: replace, reason: avoid collision after fix types in other method */
public Object replace2(String str, Object obj) {
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
}
@Override // java.util.Map
public /* synthetic */ boolean replace(String str, Object obj, Object obj2) {
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
}
/* renamed from: replace, reason: avoid collision after fix types in other method */
public boolean replace2(String str, Object obj, Object obj2) {
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
}
public boolean containsKey(@NotNull String key) {
key.getClass();
return this.$$delegate_0.containsKey(key);
}
@Override // java.util.Map
public final /* bridge */ Object get(Object obj) {
if (obj instanceof String) {
return get((String) obj);
}
return null;
}
}