- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
115 lines
3.7 KiB
Java
115 lines
3.7 KiB
Java
package com.facebook.appevents.codeless.internal;
|
|
|
|
import java.util.Arrays;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import org.json.JSONObject;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class PathComponent {
|
|
public static final Companion Companion = new Companion(null);
|
|
private static final String PATH_CLASS_NAME_KEY = "class_name";
|
|
private static final String PATH_DESCRIPTION_KEY = "description";
|
|
private static final String PATH_HINT_KEY = "hint";
|
|
private static final String PATH_ID_KEY = "id";
|
|
private static final String PATH_INDEX_KEY = "index";
|
|
private static final String PATH_MATCH_BITMASK_KEY = "match_bitmask";
|
|
private static final String PATH_TAG_KEY = "tag";
|
|
private static final String PATH_TEXT_KEY = "text";
|
|
private final String className;
|
|
private final String description;
|
|
private final String hint;
|
|
private final int id;
|
|
private final int index;
|
|
private final int matchBitmask;
|
|
private final String tag;
|
|
private final String text;
|
|
|
|
public final String getClassName() {
|
|
return this.className;
|
|
}
|
|
|
|
public final String getDescription() {
|
|
return this.description;
|
|
}
|
|
|
|
public final String getHint() {
|
|
return this.hint;
|
|
}
|
|
|
|
public final int getId() {
|
|
return this.id;
|
|
}
|
|
|
|
public final int getIndex() {
|
|
return this.index;
|
|
}
|
|
|
|
public final int getMatchBitmask() {
|
|
return this.matchBitmask;
|
|
}
|
|
|
|
public final String getTag() {
|
|
return this.tag;
|
|
}
|
|
|
|
public final String getText() {
|
|
return this.text;
|
|
}
|
|
|
|
public enum MatchBitmaskType {
|
|
ID(1),
|
|
TEXT(2),
|
|
TAG(4),
|
|
DESCRIPTION(8),
|
|
HINT(16);
|
|
|
|
private final int value;
|
|
|
|
public final int getValue() {
|
|
return this.value;
|
|
}
|
|
|
|
MatchBitmaskType(int i) {
|
|
this.value = i;
|
|
}
|
|
|
|
/* renamed from: values, reason: to resolve conflict with enum method */
|
|
public static MatchBitmaskType[] valuesCustom() {
|
|
MatchBitmaskType[] valuesCustom = values();
|
|
return (MatchBitmaskType[]) Arrays.copyOf(valuesCustom, valuesCustom.length);
|
|
}
|
|
}
|
|
|
|
public PathComponent(JSONObject component) {
|
|
Intrinsics.checkNotNullParameter(component, "component");
|
|
String string = component.getString(PATH_CLASS_NAME_KEY);
|
|
Intrinsics.checkNotNullExpressionValue(string, "component.getString(PATH_CLASS_NAME_KEY)");
|
|
this.className = string;
|
|
this.index = component.optInt(PATH_INDEX_KEY, -1);
|
|
this.id = component.optInt("id");
|
|
String optString = component.optString("text");
|
|
Intrinsics.checkNotNullExpressionValue(optString, "component.optString(PATH_TEXT_KEY)");
|
|
this.text = optString;
|
|
String optString2 = component.optString("tag");
|
|
Intrinsics.checkNotNullExpressionValue(optString2, "component.optString(PATH_TAG_KEY)");
|
|
this.tag = optString2;
|
|
String optString3 = component.optString("description");
|
|
Intrinsics.checkNotNullExpressionValue(optString3, "component.optString(PATH_DESCRIPTION_KEY)");
|
|
this.description = optString3;
|
|
String optString4 = component.optString("hint");
|
|
Intrinsics.checkNotNullExpressionValue(optString4, "component.optString(PATH_HINT_KEY)");
|
|
this.hint = optString4;
|
|
this.matchBitmask = component.optInt(PATH_MATCH_BITMASK_KEY);
|
|
}
|
|
|
|
public static final class Companion {
|
|
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
|
this();
|
|
}
|
|
|
|
private Companion() {
|
|
}
|
|
}
|
|
}
|