package androidx.lifecycle;

import java.lang.reflect.Method;

/* JADX INFO: renamed from: androidx.lifecycle.c, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0498c {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final int f8824a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final Method f8825b;

    public C0498c(Method method, int i) {
        this.f8824a = i;
        this.f8825b = method;
        method.setAccessible(true);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof C0498c)) {
            return false;
        }
        C0498c c0498c = (C0498c) obj;
        return this.f8824a == c0498c.f8824a && this.f8825b.getName().equals(c0498c.f8825b.getName());
    }

    public final int hashCode() {
        return this.f8825b.getName().hashCode() + (this.f8824a * 31);
    }
}
