forked from Juby210/discord-jadx
45 lines
1.8 KiB
Java
45 lines
1.8 KiB
Java
package com.discord.widgets.guilds.create;
|
|
|
|
import android.os.Bundle;
|
|
import b.d.b.a.a;
|
|
import com.discord.app.AppFragment;
|
|
import com.discord.widgets.guilds.create.WidgetGuildCreate;
|
|
import d0.z.d.o;
|
|
import kotlin.jvm.functions.Function0;
|
|
/* compiled from: ArgUtils.kt */
|
|
public final class WidgetGuildCreate$$special$$inlined$args$1 extends o implements Function0<WidgetGuildCreate.Options> {
|
|
public final /* synthetic */ String $argsKey;
|
|
public final /* synthetic */ AppFragment $this_args;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetGuildCreate$$special$$inlined$args$1(AppFragment appFragment, String str) {
|
|
super(0);
|
|
this.$this_args = appFragment;
|
|
this.$argsKey = str;
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
/* JADX WARNING: Unknown variable types count: 1 */
|
|
@Override // kotlin.jvm.functions.Function0
|
|
/* renamed from: invoke */
|
|
public final WidgetGuildCreate.Options mo1invoke() {
|
|
Bundle arguments = this.$this_args.getArguments();
|
|
Object obj = null;
|
|
Object obj2 = arguments != null ? arguments.get(this.$argsKey) : null;
|
|
if (obj2 instanceof WidgetGuildCreate.Options) {
|
|
obj = obj2;
|
|
}
|
|
WidgetGuildCreate.Options options = (WidgetGuildCreate.Options) obj;
|
|
WidgetGuildCreate.Options options2 = options;
|
|
if (options == null) {
|
|
options2 = this.$this_args.getMostRecentIntent().getParcelableExtra(this.$argsKey);
|
|
}
|
|
if (options2 != null) {
|
|
return options2;
|
|
}
|
|
StringBuilder R = a.R("Missing args for class type ");
|
|
a.j0(WidgetGuildCreate.Options.class, R, " + key ");
|
|
throw new IllegalStateException(a.G(R, this.$argsKey, '!'));
|
|
}
|
|
}
|