* Decompile and recreate Soul Browser v1.4.85 with APK CI builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix CI build: include bundled google.jks and remove PR trigger The apktool build failed in CI because app/unknown/.../google.jks was excluded by the *.jks gitignore rule. Whitelist app-bundled JKS files and commit the missing resource. Also remove the redundant pull_request workflow trigger. Co-authored-by: KaKi87 <KaKi87@pm.me> * Change package ID to com.github.kaki87.soulbrowser Rename the application ID so the rebuilt APK can be installed alongside the original Soul Browser from Google Play. - Update AndroidManifest package, permissions, providers, and actions - Update R class references in smali (com/github/kaki87/soulbrowser/R) - Update shortcuts.xml targetPackage - Rename app label to "Soul Rebuild" for easy identification Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install compatibility: remove split APK metadata and bundle native libs The rebuilt APK still declared requiredSplitTypes and Play Store split metadata, causing Android to reject standalone installs as incompatible. - Remove requiredSplitTypes and split-related manifest meta-data - Merge native libs from all ABI splits with uncompressed storage - Page-align before signing for extractNativeLibs=false - Add .so to apktool doNotCompress list Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install failure: use apksigner v2/v3 and bundle arm64 native libs Target SDK 36 requires APK Signature Scheme v2+, but jarsigner only produces v1 signatures, causing Android to reject the install. - Sign with apksigner (v1+v2+v3) instead of jarsigner - Add arm64-v8a native libraries from universal Soul Browser 1.4.79 - Set extractNativeLibs=true for reliable sideload installs - Commit stable debug keystore for consistent signatures across builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Add committed debug keystore for consistent APK signatures Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix startup crash: use original classes2.dex desugar libraries Apktool recompiles smali_classes2 into a broken classes2.dex, causing ClassNotFoundException for j$.com.android.tools.r8.a at ML Kit init. Inject the original classes2.dex (Java 8+ desugar libs) after apktool build instead of using the recompiled version. Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix missing drawable resources from density split APKs The base APK is an app bundle module; density-specific drawables like seek_thumb_nor_b live in config.xhdpi.apk and were missing after rebuild, causing Resources$NotFoundException at runtime. - Merge non-9-patch resources from split APKs before apktool build - Sync public.xml IDs from R smali only when backing files exist - Add 713 density-specific resource IDs to public.xml Co-authored-by: KaKi87 <KaKi87@pm.me> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
868 lines
18 KiB
Smali
868 lines
18 KiB
Smali
.class public final Lcom/google/api/client/util/ClassInfo;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# static fields
|
|
.field private static final CACHE:Ljava/util/concurrent/ConcurrentMap;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/concurrent/ConcurrentMap<",
|
|
"Ljava/lang/Class<",
|
|
"*>;",
|
|
"Lcom/google/api/client/util/ClassInfo;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private static final CACHE_IGNORE_CASE:Ljava/util/concurrent/ConcurrentMap;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/concurrent/ConcurrentMap<",
|
|
"Ljava/lang/Class<",
|
|
"*>;",
|
|
"Lcom/google/api/client/util/ClassInfo;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field private final clazz:Ljava/lang/Class;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Class<",
|
|
"*>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private final ignoreCase:Z
|
|
|
|
.field private final nameToFieldInfoMap:Ljava/util/IdentityHashMap;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/IdentityHashMap<",
|
|
"Ljava/lang/String;",
|
|
"Lcom/google/api/client/util/FieldInfo;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field final names:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
new-instance v0, Lj$/util/concurrent/ConcurrentHashMap;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {v0}, Lj$/util/concurrent/ConcurrentHashMap;-><init>()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
sput-object v0, Lcom/google/api/client/util/ClassInfo;->CACHE:Ljava/util/concurrent/ConcurrentMap;
|
|
|
|
.line 7
|
|
.line 8
|
|
new-instance v0, Lj$/util/concurrent/ConcurrentHashMap;
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-direct {v0}, Lj$/util/concurrent/ConcurrentHashMap;-><init>()V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
sput-object v0, Lcom/google/api/client/util/ClassInfo;->CACHE_IGNORE_CASE:Ljava/util/concurrent/ConcurrentMap;
|
|
|
|
.line 14
|
|
.line 15
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>(Ljava/lang/Class;Z)V
|
|
.locals 13
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Class<",
|
|
"*>;Z)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
new-instance v0, Ljava/util/IdentityHashMap;
|
|
|
|
.line 5
|
|
.line 6
|
|
invoke-direct {v0}, Ljava/util/IdentityHashMap;-><init>()V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
iput-object v0, p0, Lcom/google/api/client/util/ClassInfo;->nameToFieldInfoMap:Ljava/util/IdentityHashMap;
|
|
|
|
.line 10
|
|
.line 11
|
|
iput-object p1, p0, Lcom/google/api/client/util/ClassInfo;->clazz:Ljava/lang/Class;
|
|
|
|
.line 12
|
|
.line 13
|
|
iput-boolean p2, p0, Lcom/google/api/client/util/ClassInfo;->ignoreCase:Z
|
|
|
|
.line 14
|
|
.line 15
|
|
const/4 v0, 0x1
|
|
|
|
.line 16
|
|
const/4 v1, 0x0
|
|
|
|
.line 17
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 18
|
|
.line 19
|
|
invoke-virtual {p1}, Ljava/lang/Class;->isEnum()Z
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
move-result v2
|
|
|
|
.line 23
|
|
if-nez v2, :cond_0
|
|
|
|
.line 24
|
|
.line 25
|
|
goto :goto_0
|
|
|
|
.line 26
|
|
:cond_0
|
|
move v2, v1
|
|
|
|
.line 27
|
|
goto :goto_1
|
|
|
|
.line 28
|
|
:cond_1
|
|
:goto_0
|
|
move v2, v0
|
|
|
|
.line 29
|
|
:goto_1
|
|
new-instance v3, Ljava/lang/StringBuilder;
|
|
|
|
.line 30
|
|
.line 31
|
|
const-string v4, "cannot ignore case on an enum: "
|
|
|
|
.line 32
|
|
.line 33
|
|
invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 40
|
|
.line 41
|
|
.line 42
|
|
move-result-object v3
|
|
|
|
.line 43
|
|
invoke-static {v2, v3}, Lcom/google/api/client/util/Preconditions;->checkArgument(ZLjava/lang/Object;)V
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
new-instance v2, Ljava/util/TreeSet;
|
|
|
|
.line 47
|
|
.line 48
|
|
new-instance v3, Lcom/google/api/client/util/ClassInfo$1;
|
|
|
|
.line 49
|
|
.line 50
|
|
invoke-direct {v3, p0}, Lcom/google/api/client/util/ClassInfo$1;-><init>(Lcom/google/api/client/util/ClassInfo;)V
|
|
|
|
.line 51
|
|
.line 52
|
|
.line 53
|
|
invoke-direct {v2, v3}, Ljava/util/TreeSet;-><init>(Ljava/util/Comparator;)V
|
|
|
|
.line 54
|
|
.line 55
|
|
.line 56
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getDeclaredFields()[Ljava/lang/reflect/Field;
|
|
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
move-result-object v3
|
|
|
|
.line 60
|
|
array-length v4, v3
|
|
|
|
.line 61
|
|
move v5, v1
|
|
|
|
.line 62
|
|
:goto_2
|
|
if-ge v5, v4, :cond_7
|
|
|
|
.line 63
|
|
.line 64
|
|
aget-object v6, v3, v5
|
|
|
|
.line 65
|
|
.line 66
|
|
invoke-static {v6}, Lcom/google/api/client/util/FieldInfo;->of(Ljava/lang/reflect/Field;)Lcom/google/api/client/util/FieldInfo;
|
|
|
|
.line 67
|
|
.line 68
|
|
.line 69
|
|
move-result-object v7
|
|
|
|
.line 70
|
|
if-nez v7, :cond_2
|
|
|
|
.line 71
|
|
.line 72
|
|
goto :goto_6
|
|
|
|
.line 73
|
|
:cond_2
|
|
invoke-virtual {v7}, Lcom/google/api/client/util/FieldInfo;->getName()Ljava/lang/String;
|
|
|
|
.line 74
|
|
.line 75
|
|
.line 76
|
|
move-result-object v8
|
|
|
|
.line 77
|
|
if-eqz p2, :cond_3
|
|
|
|
.line 78
|
|
.line 79
|
|
sget-object v9, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
.line 80
|
|
.line 81
|
|
invoke-virtual {v8, v9}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;
|
|
|
|
.line 82
|
|
.line 83
|
|
.line 84
|
|
move-result-object v8
|
|
|
|
.line 85
|
|
invoke-virtual {v8}, Ljava/lang/String;->intern()Ljava/lang/String;
|
|
|
|
.line 86
|
|
.line 87
|
|
.line 88
|
|
move-result-object v8
|
|
|
|
.line 89
|
|
:cond_3
|
|
iget-object v9, p0, Lcom/google/api/client/util/ClassInfo;->nameToFieldInfoMap:Ljava/util/IdentityHashMap;
|
|
|
|
.line 90
|
|
.line 91
|
|
invoke-virtual {v9, v8}, Ljava/util/IdentityHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 92
|
|
.line 93
|
|
.line 94
|
|
move-result-object v9
|
|
|
|
.line 95
|
|
check-cast v9, Lcom/google/api/client/util/FieldInfo;
|
|
|
|
.line 96
|
|
.line 97
|
|
if-nez v9, :cond_4
|
|
|
|
.line 98
|
|
.line 99
|
|
move v10, v0
|
|
|
|
.line 100
|
|
goto :goto_3
|
|
|
|
.line 101
|
|
:cond_4
|
|
move v10, v1
|
|
|
|
.line 102
|
|
:goto_3
|
|
if-eqz p2, :cond_5
|
|
|
|
.line 103
|
|
.line 104
|
|
const-string v11, "case-insensitive "
|
|
|
|
.line 105
|
|
.line 106
|
|
goto :goto_4
|
|
|
|
.line 107
|
|
:cond_5
|
|
const-string v11, ""
|
|
|
|
.line 108
|
|
.line 109
|
|
:goto_4
|
|
if-nez v9, :cond_6
|
|
|
|
.line 110
|
|
.line 111
|
|
const/4 v9, 0x0
|
|
|
|
.line 112
|
|
goto :goto_5
|
|
|
|
.line 113
|
|
:cond_6
|
|
invoke-virtual {v9}, Lcom/google/api/client/util/FieldInfo;->getField()Ljava/lang/reflect/Field;
|
|
|
|
.line 114
|
|
.line 115
|
|
.line 116
|
|
move-result-object v9
|
|
|
|
.line 117
|
|
:goto_5
|
|
const/4 v12, 0x4
|
|
|
|
.line 118
|
|
new-array v12, v12, [Ljava/lang/Object;
|
|
|
|
.line 119
|
|
.line 120
|
|
aput-object v11, v12, v1
|
|
|
|
.line 121
|
|
.line 122
|
|
aput-object v8, v12, v0
|
|
|
|
.line 123
|
|
.line 124
|
|
const/4 v11, 0x2
|
|
|
|
.line 125
|
|
aput-object v6, v12, v11
|
|
|
|
.line 126
|
|
.line 127
|
|
const/4 v6, 0x3
|
|
|
|
.line 128
|
|
aput-object v9, v12, v6
|
|
|
|
.line 129
|
|
.line 130
|
|
const-string v6, "two fields have the same %sname <%s>: %s and %s"
|
|
|
|
.line 131
|
|
.line 132
|
|
invoke-static {v10, v6, v12}, Lcom/google/api/client/util/Preconditions;->checkArgument(ZLjava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
.line 133
|
|
.line 134
|
|
.line 135
|
|
iget-object v6, p0, Lcom/google/api/client/util/ClassInfo;->nameToFieldInfoMap:Ljava/util/IdentityHashMap;
|
|
|
|
.line 136
|
|
.line 137
|
|
invoke-virtual {v6, v8, v7}, Ljava/util/IdentityHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 138
|
|
.line 139
|
|
.line 140
|
|
invoke-virtual {v2, v8}, Ljava/util/TreeSet;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 141
|
|
.line 142
|
|
.line 143
|
|
:goto_6
|
|
add-int/lit8 v5, v5, 0x1
|
|
|
|
.line 144
|
|
.line 145
|
|
goto :goto_2
|
|
|
|
.line 146
|
|
:cond_7
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getSuperclass()Ljava/lang/Class;
|
|
|
|
.line 147
|
|
.line 148
|
|
.line 149
|
|
move-result-object p1
|
|
|
|
.line 150
|
|
if-eqz p1, :cond_9
|
|
|
|
.line 151
|
|
.line 152
|
|
invoke-static {p1, p2}, Lcom/google/api/client/util/ClassInfo;->of(Ljava/lang/Class;Z)Lcom/google/api/client/util/ClassInfo;
|
|
|
|
.line 153
|
|
.line 154
|
|
.line 155
|
|
move-result-object p1
|
|
|
|
.line 156
|
|
iget-object p2, p1, Lcom/google/api/client/util/ClassInfo;->names:Ljava/util/List;
|
|
|
|
.line 157
|
|
.line 158
|
|
invoke-virtual {v2, p2}, Ljava/util/TreeSet;->addAll(Ljava/util/Collection;)Z
|
|
|
|
.line 159
|
|
.line 160
|
|
.line 161
|
|
iget-object p1, p1, Lcom/google/api/client/util/ClassInfo;->nameToFieldInfoMap:Ljava/util/IdentityHashMap;
|
|
|
|
.line 162
|
|
.line 163
|
|
invoke-virtual {p1}, Ljava/util/IdentityHashMap;->entrySet()Ljava/util/Set;
|
|
|
|
.line 164
|
|
.line 165
|
|
.line 166
|
|
move-result-object p1
|
|
|
|
.line 167
|
|
invoke-interface {p1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
.line 168
|
|
.line 169
|
|
.line 170
|
|
move-result-object p1
|
|
|
|
.line 171
|
|
:cond_8
|
|
:goto_7
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
.line 172
|
|
.line 173
|
|
.line 174
|
|
move-result p2
|
|
|
|
.line 175
|
|
if-eqz p2, :cond_9
|
|
|
|
.line 176
|
|
.line 177
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
.line 178
|
|
.line 179
|
|
.line 180
|
|
move-result-object p2
|
|
|
|
.line 181
|
|
check-cast p2, Ljava/util/Map$Entry;
|
|
|
|
.line 182
|
|
.line 183
|
|
invoke-interface {p2}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
|
|
|
|
.line 184
|
|
.line 185
|
|
.line 186
|
|
move-result-object v0
|
|
|
|
.line 187
|
|
check-cast v0, Ljava/lang/String;
|
|
|
|
.line 188
|
|
.line 189
|
|
iget-object v1, p0, Lcom/google/api/client/util/ClassInfo;->nameToFieldInfoMap:Ljava/util/IdentityHashMap;
|
|
|
|
.line 190
|
|
.line 191
|
|
invoke-virtual {v1, v0}, Ljava/util/IdentityHashMap;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
.line 192
|
|
.line 193
|
|
.line 194
|
|
move-result v1
|
|
|
|
.line 195
|
|
if-nez v1, :cond_8
|
|
|
|
.line 196
|
|
.line 197
|
|
iget-object v1, p0, Lcom/google/api/client/util/ClassInfo;->nameToFieldInfoMap:Ljava/util/IdentityHashMap;
|
|
|
|
.line 198
|
|
.line 199
|
|
invoke-interface {p2}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
|
|
|
.line 200
|
|
.line 201
|
|
.line 202
|
|
move-result-object p2
|
|
|
|
.line 203
|
|
invoke-virtual {v1, v0, p2}, Ljava/util/IdentityHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 204
|
|
.line 205
|
|
.line 206
|
|
goto :goto_7
|
|
|
|
.line 207
|
|
:cond_9
|
|
invoke-virtual {v2}, Ljava/util/TreeSet;->isEmpty()Z
|
|
|
|
.line 208
|
|
.line 209
|
|
.line 210
|
|
move-result p1
|
|
|
|
.line 211
|
|
if-eqz p1, :cond_a
|
|
|
|
.line 212
|
|
.line 213
|
|
sget-object p1, Ljava/util/Collections;->EMPTY_LIST:Ljava/util/List;
|
|
|
|
.line 214
|
|
.line 215
|
|
goto :goto_8
|
|
|
|
.line 216
|
|
:cond_a
|
|
new-instance p1, Ljava/util/ArrayList;
|
|
|
|
.line 217
|
|
.line 218
|
|
invoke-direct {p1, v2}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
|
|
|
.line 219
|
|
.line 220
|
|
.line 221
|
|
invoke-static {p1}, Lj$/util/DesugarCollections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
|
|
|
|
.line 222
|
|
.line 223
|
|
.line 224
|
|
move-result-object p1
|
|
|
|
.line 225
|
|
:goto_8
|
|
iput-object p1, p0, Lcom/google/api/client/util/ClassInfo;->names:Ljava/util/List;
|
|
|
|
.line 226
|
|
.line 227
|
|
return-void
|
|
.end method
|
|
|
|
.method public static of(Ljava/lang/Class;)Lcom/google/api/client/util/ClassInfo;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Class<",
|
|
"*>;)",
|
|
"Lcom/google/api/client/util/ClassInfo;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 1
|
|
invoke-static {p0, v0}, Lcom/google/api/client/util/ClassInfo;->of(Ljava/lang/Class;Z)Lcom/google/api/client/util/ClassInfo;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static of(Ljava/lang/Class;Z)Lcom/google/api/client/util/ClassInfo;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Class<",
|
|
"*>;Z)",
|
|
"Lcom/google/api/client/util/ClassInfo;"
|
|
}
|
|
.end annotation
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 2
|
|
sget-object v0, Lcom/google/api/client/util/ClassInfo;->CACHE_IGNORE_CASE:Ljava/util/concurrent/ConcurrentMap;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
sget-object v0, Lcom/google/api/client/util/ClassInfo;->CACHE:Ljava/util/concurrent/ConcurrentMap;
|
|
|
|
.line 3
|
|
:goto_0
|
|
invoke-interface {v0, p0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Lcom/google/api/client/util/ClassInfo;
|
|
|
|
if-nez v1, :cond_3
|
|
|
|
new-instance v1, Lcom/google/api/client/util/ClassInfo;
|
|
|
|
invoke-direct {v1, p0, p1}, Lcom/google/api/client/util/ClassInfo;-><init>(Ljava/lang/Class;Z)V
|
|
|
|
.line 4
|
|
invoke-interface {v0, p0, v1}, Ljava/util/concurrent/ConcurrentMap;->putIfAbsent(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lcom/google/api/client/util/ClassInfo;
|
|
|
|
if-nez p0, :cond_2
|
|
|
|
return-object v1
|
|
|
|
:cond_2
|
|
return-object p0
|
|
|
|
:cond_3
|
|
return-object v1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getField(Ljava/lang/String;)Ljava/lang/reflect/Field;
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1}, Lcom/google/api/client/util/ClassInfo;->getFieldInfo(Ljava/lang/String;)Lcom/google/api/client/util/FieldInfo;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object p1
|
|
|
|
.line 5
|
|
if-nez p1, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
const/4 p1, 0x0
|
|
|
|
.line 8
|
|
return-object p1
|
|
|
|
.line 9
|
|
:cond_0
|
|
invoke-virtual {p1}, Lcom/google/api/client/util/FieldInfo;->getField()Ljava/lang/reflect/Field;
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result-object p1
|
|
|
|
.line 13
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public getFieldInfo(Ljava/lang/String;)Lcom/google/api/client/util/FieldInfo;
|
|
.locals 1
|
|
|
|
.line 1
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 2
|
|
.line 3
|
|
iget-boolean v0, p0, Lcom/google/api/client/util/ClassInfo;->ignoreCase:Z
|
|
|
|
.line 4
|
|
.line 5
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
sget-object v0, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result-object p1
|
|
|
|
.line 13
|
|
:cond_0
|
|
invoke-virtual {p1}, Ljava/lang/String;->intern()Ljava/lang/String;
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result-object p1
|
|
|
|
.line 17
|
|
:cond_1
|
|
iget-object v0, p0, Lcom/google/api/client/util/ClassInfo;->nameToFieldInfoMap:Ljava/util/IdentityHashMap;
|
|
|
|
.line 18
|
|
.line 19
|
|
invoke-virtual {v0, p1}, Ljava/util/IdentityHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
move-result-object p1
|
|
|
|
.line 23
|
|
check-cast p1, Lcom/google/api/client/util/FieldInfo;
|
|
|
|
.line 24
|
|
.line 25
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public getFieldInfos()Ljava/util/Collection;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Collection<",
|
|
"Lcom/google/api/client/util/FieldInfo;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/api/client/util/ClassInfo;->nameToFieldInfoMap:Ljava/util/IdentityHashMap;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {v0}, Ljava/util/IdentityHashMap;->values()Ljava/util/Collection;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object v0
|
|
|
|
.line 7
|
|
invoke-static {v0}, Lj$/util/DesugarCollections;->unmodifiableCollection(Ljava/util/Collection;)Ljava/util/Collection;
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result-object v0
|
|
|
|
.line 11
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getIgnoreCase()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Lcom/google/api/client/util/ClassInfo;->ignoreCase:Z
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getNames()Ljava/util/Collection;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Collection<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/api/client/util/ClassInfo;->names:Ljava/util/List;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getUnderlyingClass()Ljava/lang/Class;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/lang/Class<",
|
|
"*>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/api/client/util/ClassInfo;->clazz:Ljava/lang/Class;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public isEnum()Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/api/client/util/ClassInfo;->clazz:Ljava/lang/Class;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {v0}, Ljava/lang/Class;->isEnum()Z
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result v0
|
|
|
|
.line 7
|
|
return v0
|
|
.end method
|