what-the-bank/sources/o/C13005fNr.java

49 lines
1.3 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.lang.reflect.Method;
/* renamed from: o.fNr, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
class C13005fNr {
boolean a = true;
final Object c;
private final int d;
final Method e;
/* JADX INFO: Access modifiers changed from: package-private */
public C13005fNr(Object obj, Method method) {
if (obj == null) {
throw new NullPointerException("EventHandler target cannot be null.");
}
if (method == null) {
throw new NullPointerException("EventHandler method cannot be null.");
}
this.c = obj;
this.e = method;
method.setAccessible(true);
this.d = ((method.hashCode() + 31) * 31) + obj.hashCode();
}
public String toString() {
StringBuilder sb = new StringBuilder("[EventHandler ");
sb.append(this.e);
sb.append("]");
return sb.toString();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
C13005fNr c13005fNr = (C13005fNr) obj;
return this.e.equals(c13005fNr.e) && this.c == c13005fNr.c;
}
public int hashCode() {
return this.d;
}
}