zzf.java
1.61 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
package com.google.android.gms.dynamic;
import android.content.Context;
import android.os.IBinder;
import com.google.android.gms.common.internal.zzac;
import com.google.android.gms.common.zzg;
public abstract class zzf<T>
{
private final String a;
private T b;
protected zzf(String paramString)
{
this.a = paramString;
}
protected final T zzbl(Context paramContext)
throws zzf.zza
{
if (this.b == null)
{
zzac.zzw(paramContext);
paramContext = zzg.getRemoteContext(paramContext);
if (paramContext == null) {
throw new zza("Could not get remote context.");
}
paramContext = paramContext.getClassLoader();
}
try
{
this.b = zzc((IBinder)paramContext.loadClass(this.a).newInstance());
return (T)this.b;
}
catch (ClassNotFoundException paramContext)
{
throw new zza("Could not load creator class.", paramContext);
}
catch (InstantiationException paramContext)
{
throw new zza("Could not instantiate creator.", paramContext);
}
catch (IllegalAccessException paramContext)
{
throw new zza("Could not access creator.", paramContext);
}
}
public abstract T zzc(IBinder paramIBinder);
public static class zza
extends Exception
{
public zza(String paramString)
{
super();
}
public zza(String paramString, Throwable paramThrowable)
{
super(paramThrowable);
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/google/android/gms/dynamic/zzf.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/