package org.greenrobot.eventbus;

import java.lang.reflect.Method;

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

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    final Method f3374a;

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

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

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

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

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

    public l(Method method, Class<?> cls, ThreadMode threadMode, int i, boolean z) {
        this.f3374a = method;
        this.f3375b = threadMode;
        this.f3376c = cls;
        this.f3377d = i;
        this.f3378e = z;
    }

    private synchronized void a() {
        if (this.f3379f == null) {
            StringBuilder sb = new StringBuilder(64);
            sb.append(this.f3374a.getDeclaringClass().getName());
            sb.append('#');
            sb.append(this.f3374a.getName());
            sb.append('(');
            sb.append(this.f3376c.getName());
            this.f3379f = 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.f3379f.equals(lVar.f3379f);
    }

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