package k.c.a;

import java.lang.reflect.Method;
import org.greenrobot.eventbus.ThreadMode;

/* JADX INFO: compiled from: SubscriberMethod.java */
/* JADX INFO: loaded from: classes.dex */
public class l {
    public final Method a;

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

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final Class<?> f4963c;

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

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final boolean f4965e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public String f4966f;

    public l(Method method, Class<?> cls, ThreadMode threadMode, int i2, boolean z) {
        this.a = method;
        this.f4962b = threadMode;
        this.f4963c = cls;
        this.f4964d = i2;
        this.f4965e = z;
    }

    public final synchronized void a() {
        if (this.f4966f == null) {
            StringBuilder sb = new StringBuilder(64);
            sb.append(this.a.getDeclaringClass().getName());
            sb.append('#');
            sb.append(this.a.getName());
            sb.append('(');
            sb.append(this.f4963c.getName());
            this.f4966f = sb.toString();
        }
    }

    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof l)) {
            return false;
        }
        a();
        l lVar = (l) obj;
        lVar.a();
        return this.f4966f.equals(lVar.f4966f);
    }

    public int hashCode() {
        return this.a.hashCode();
    }
}
