package kotlin.jvm.internal;

import java.util.List;
import kotlin.reflect.KClass;
import kotlin.reflect.KClassifier;
import kotlin.reflect.KDeclarationContainer;
import kotlin.reflect.KFunction;
import kotlin.reflect.KMutableProperty1;
import kotlin.reflect.KProperty0;
import kotlin.reflect.KProperty1;
import kotlin.reflect.KType;
import kotlin.reflect.KTypeProjection;

/* JADX INFO: loaded from: classes.dex */
public class f0 {
    public KFunction a(l lVar) {
        return lVar;
    }

    public KClass b(Class cls) {
        return new ClassReference(cls);
    }

    public KDeclarationContainer c(Class cls, String str) {
        return new PackageReference(cls, str);
    }

    public KMutableProperty1 d(s sVar) {
        return sVar;
    }

    public KProperty0 e(w wVar) {
        return wVar;
    }

    public KProperty1 f(y yVar) {
        return yVar;
    }

    public String g(FunctionBase functionBase) {
        String string = functionBase.getClass().getGenericInterfaces()[0].toString();
        return string.startsWith("kotlin.jvm.functions.") ? string.substring(21) : string;
    }

    public String h(Lambda lambda) {
        return g(lambda);
    }

    public KType i(KClassifier kClassifier, List<KTypeProjection> list, boolean z2) {
        return new TypeReference(kClassifier, list, z2);
    }
}
