package defpackage;

import j$.util.DesugarCollections;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
import java.util.Collections;
import java.util.LinkedHashSet;
import java.util.Set;

/* renamed from: ˑᵨᵚ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C2091 extends AbstractC0875 {

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final C0945 f8296;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final boolean f8297;

    public C2091(C0945 c0945, boolean z) {
        this.f8296 = c0945;
        this.f8297 = z;
    }

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public static Set m5682(Annotation[] annotationArr) {
        LinkedHashSet linkedHashSet = null;
        for (Annotation annotation : annotationArr) {
            if (annotation.annotationType().isAnnotationPresent(InterfaceC0084.class)) {
                if (linkedHashSet == null) {
                    linkedHashSet = new LinkedHashSet();
                }
                linkedHashSet.add(annotation);
            }
        }
        return linkedHashSet != null ? DesugarCollections.unmodifiableSet(linkedHashSet) : Collections.EMPTY_SET;
    }

    @Override // defpackage.AbstractC0875
    /* renamed from: ᵥᵯˎ */
    public final InterfaceC4196 mo3002(Type type, Annotation[] annotationArr) {
        return new C2220(this.f8296.m3195(type, m5682(annotationArr), null), this.f8297);
    }

    @Override // defpackage.AbstractC0875
    /* renamed from: ᵴᵳ */
    public final InterfaceC4196 mo3003(Type type, Annotation[] annotationArr, ʽˋːᵜ r3) {
        return new C3495(this.f8296.m3195(type, m5682(annotationArr), null));
    }
}
