正在查看: Oolka v2.4.42 应用的 CrashguardConfig.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Oolka v2.4.42 应用的 CrashguardConfig.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package co.hyperverge.crashguard.objects;
import co.hyperverge.crashguard.BuildConfig;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import kotlin.Metadata;
import kotlin.collections.CollectionsKt;
import kotlin.jvm.JvmOverloads;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import org.jetbrains.annotations.NotNull;
@Metadata
public final class CrashguardConfig {
@NotNull
private String dsn;
@NotNull
private List<String> filters;
@NotNull
private SentryProperties sentryProperties;
private boolean shouldReportCrashes;
@NotNull
private Map<String, String> tags;
@JvmOverloads
public CrashguardConfig() {
this(null, null, null, 7, null);
}
public static CrashguardConfig copy$default(CrashguardConfig crashguardConfig, List list, Map map, String str, int i, Object obj) {
if ((i & 1) != 0) {
list = crashguardConfig.filters;
}
if ((i & 2) != 0) {
map = crashguardConfig.tags;
}
if ((i & 4) != 0) {
str = crashguardConfig.dsn;
}
return crashguardConfig.copy(list, map, str);
}
@NotNull
public final List<String> component1() {
return this.filters;
}
@NotNull
public final Map<String, String> component2() {
return this.tags;
}
@NotNull
public final String component3() {
return this.dsn;
}
@NotNull
public final CrashguardConfig copy(@NotNull List<String> list, @NotNull Map<String, String> map, @NotNull String str) {
Intrinsics.checkNotNullParameter(list, "filters");
Intrinsics.checkNotNullParameter(map, "tags");
Intrinsics.checkNotNullParameter(str, "dsn");
return new CrashguardConfig(list, map, str);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof CrashguardConfig)) {
return false;
}
CrashguardConfig crashguardConfig = (CrashguardConfig) obj;
return Intrinsics.areEqual(this.filters, crashguardConfig.filters) && Intrinsics.areEqual(this.tags, crashguardConfig.tags) && Intrinsics.areEqual(this.dsn, crashguardConfig.dsn);
}
@NotNull
public final String getDsn() {
return this.dsn;
}
@NotNull
public final List<String> getFilters() {
return this.filters;
}
@NotNull
public final SentryProperties getSentryProperties$crashguard_release() {
return this.sentryProperties;
}
public final boolean getShouldReportCrashes() {
return this.shouldReportCrashes;
}
@NotNull
public final Map<String, String> getTags() {
return this.tags;
}
public int hashCode() {
return (((this.filters.hashCode() * 31) + this.tags.hashCode()) * 31) + this.dsn.hashCode();
}
public final void setDsn(@NotNull String str) {
Intrinsics.checkNotNullParameter(str, "<set-?>");
this.dsn = str;
}
public final void setFilters(@NotNull List<String> list) {
Intrinsics.checkNotNullParameter(list, "<set-?>");
this.filters = list;
}
public final void setSentryProperties$crashguard_release(@NotNull SentryProperties sentryProperties) {
Intrinsics.checkNotNullParameter(sentryProperties, "<set-?>");
this.sentryProperties = sentryProperties;
}
public final void setShouldReportCrashes(boolean z) {
this.shouldReportCrashes = z;
}
public final void setTags(@NotNull Map<String, String> map) {
Intrinsics.checkNotNullParameter(map, "<set-?>");
this.tags = map;
}
@NotNull
public String toString() {
return "CrashguardConfig(filters=" + this.filters + ", tags=" + this.tags + ", dsn=" + this.dsn + ')';
}
@JvmOverloads
public CrashguardConfig(@NotNull List<String> list) {
this(list, null, null, 6, null);
Intrinsics.checkNotNullParameter(list, "filters");
}
@JvmOverloads
public CrashguardConfig(@NotNull List<String> list, @NotNull Map<String, String> map) {
this(list, map, null, 4, null);
Intrinsics.checkNotNullParameter(list, "filters");
Intrinsics.checkNotNullParameter(map, "tags");
}
@JvmOverloads
public CrashguardConfig(@NotNull List<String> list, @NotNull Map<String, String> map, @NotNull String str) {
Intrinsics.checkNotNullParameter(list, "filters");
Intrinsics.checkNotNullParameter(map, "tags");
Intrinsics.checkNotNullParameter(str, "dsn");
this.filters = list;
this.tags = map;
this.dsn = str;
this.sentryProperties = new SentryProperties(str);
this.shouldReportCrashes = true;
Map<String, String> map2 = this.tags;
Intrinsics.checkNotNull(map2, "null cannot be cast to non-null type java.util.HashMap<kotlin.String, kotlin.String>{ kotlin.collections.TypeAliasesKt.HashMap<kotlin.String, kotlin.String> }");
((HashMap) map2).put("crashguard_sdk_version", BuildConfig.CG_VERSION_CODE);
}
public CrashguardConfig(List list, Map map, String str, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? CollectionsKt.emptyList() : list, (i & 2) != 0 ? new HashMap() : map, (i & 4) != 0 ? "https://[email protected]/4506256630153216" : str);
}
}