package kotlin.reflect.jvm.internal.impl.util;

import defpackage.cr4;
import defpackage.kp6;
import java.util.List;
import kotlin.reflect.jvm.internal.impl.descriptors.FunctionDescriptor;
import kotlin.reflect.jvm.internal.impl.util.CheckResult;

/* JADX INFO: loaded from: classes3.dex */
public abstract class AbstractModifierChecks {
    @kp6
    public final CheckResult check(@kp6 FunctionDescriptor functionDescriptor) {
        cr4.g(functionDescriptor, "functionDescriptor");
        for (Checks checks : getChecks$descriptors()) {
            if (checks.isApplicable(functionDescriptor)) {
                return checks.checkAll(functionDescriptor);
            }
        }
        return CheckResult.IllegalFunctionName.INSTANCE;
    }

    @kp6
    public abstract List<Checks> getChecks$descriptors();
}
