qn.java
2.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
import com.google.common.base.Preconditions;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import javax.annotation.Nullable;
public class qn
{
public final Object a;
public final Method b;
qn(Object paramObject, Method paramMethod)
{
Preconditions.checkNotNull(paramObject, "EventSubscriber target cannot be null.");
Preconditions.checkNotNull(paramMethod, "EventSubscriber method cannot be null.");
this.a = paramObject;
this.b = paramMethod;
paramMethod.setAccessible(true);
}
public void a(Object paramObject)
throws InvocationTargetException
{
Preconditions.checkNotNull(paramObject);
try
{
this.b.invoke(this.a, new Object[] { paramObject });
return;
}
catch (IllegalArgumentException localIllegalArgumentException)
{
paramObject = String.valueOf(String.valueOf(paramObject));
throw new Error(((String)paramObject).length() + 33 + "Method rejected target/argument: " + (String)paramObject, localIllegalArgumentException);
}
catch (IllegalAccessException localIllegalAccessException)
{
paramObject = String.valueOf(String.valueOf(paramObject));
throw new Error(((String)paramObject).length() + 28 + "Method became inaccessible: " + (String)paramObject, localIllegalAccessException);
}
catch (InvocationTargetException paramObject)
{
if ((((InvocationTargetException)paramObject).getCause() instanceof Error)) {
throw ((Error)((InvocationTargetException)paramObject).getCause());
}
throw ((Throwable)paramObject);
}
}
public boolean equals(@Nullable Object paramObject)
{
boolean bool2 = false;
boolean bool1 = bool2;
if ((paramObject instanceof qn))
{
paramObject = (qn)paramObject;
bool1 = bool2;
if (this.a == ((qn)paramObject).a)
{
bool1 = bool2;
if (this.b.equals(((qn)paramObject).b)) {
bool1 = true;
}
}
}
return bool1;
}
public int hashCode()
{
return (this.b.hashCode() + 31) * 31 + System.identityHashCode(this.a);
}
public String toString()
{
String str = String.valueOf(String.valueOf(this.b));
return str.length() + 10 + "[wrapper " + str + "]";
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/qn.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/