package androidx.navigation; import android.app.Activity; import android.content.ComponentName; import android.content.Context; import android.net.Uri; import androidx.navigation.ActivityNavigator; import io.sentry.protocol.OperatingSystem; import kotlin.Deprecated; import kotlin.Metadata; import kotlin.ReplaceWith; import kotlin.jvm.JvmClassMappingKt; import kotlin.jvm.internal.Intrinsics; import kotlin.reflect.KClass; /* compiled from: ActivityNavigatorDestinationBuilder.kt */ @NavDestinationDsl @Metadata(d1 = {"\u0000>\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\f\b\u0007\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\u0019\b\u0017\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u0012\b\b\u0001\u0010\u0005\u001a\u00020\u0006¢\u0006\u0002\u0010\u0007B\u0017\b\u0016\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u0012\u0006\u0010\b\u001a\u00020\t¢\u0006\u0002\u0010\nJ\b\u0010%\u001a\u00020\u0002H\u0016R\u001c\u0010\u000b\u001a\u0004\u0018\u00010\tX\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\f\u0010\r\"\u0004\b\u000e\u0010\u000fR$\u0010\u0010\u001a\f\u0012\u0006\b\u0001\u0012\u00020\u0012\u0018\u00010\u0011X\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0013\u0010\u0014\"\u0004\b\u0015\u0010\u0016R\u000e\u0010\u0017\u001a\u00020\u0018X\u0082\u000e¢\u0006\u0002\n\u0000R\u001c\u0010\u0019\u001a\u0004\u0018\u00010\u001aX\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u001b\u0010\u001c\"\u0004\b\u001d\u0010\u001eR\u001c\u0010\u001f\u001a\u0004\u0018\u00010\tX\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b \u0010\r\"\u0004\b!\u0010\u000fR\u001c\u0010\"\u001a\u0004\u0018\u00010\tX\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b#\u0010\r\"\u0004\b$\u0010\u000f¨\u0006&"}, d2 = {"Landroidx/navigation/ActivityNavigatorDestinationBuilder;", "Landroidx/navigation/NavDestinationBuilder;", "Landroidx/navigation/ActivityNavigator$Destination;", "navigator", "Landroidx/navigation/ActivityNavigator;", "id", "", "(Landroidx/navigation/ActivityNavigator;I)V", "route", "", "(Landroidx/navigation/ActivityNavigator;Ljava/lang/String;)V", "action", "getAction", "()Ljava/lang/String;", "setAction", "(Ljava/lang/String;)V", "activityClass", "Lkotlin/reflect/KClass;", "Landroid/app/Activity;", "getActivityClass", "()Lkotlin/reflect/KClass;", "setActivityClass", "(Lkotlin/reflect/KClass;)V", "context", "Landroid/content/Context;", "data", "Landroid/net/Uri;", "getData", "()Landroid/net/Uri;", "setData", "(Landroid/net/Uri;)V", "dataPattern", "getDataPattern", "setDataPattern", "targetPackage", "getTargetPackage", "setTargetPackage", OperatingSystem.JsonKeys.BUILD, "navigation-runtime_release"}, k = 1, mv = {1, 8, 0}, xi = 48) /* loaded from: classes2.dex */ public final class ActivityNavigatorDestinationBuilder extends NavDestinationBuilder { private String action; private KClass activityClass; private Context context; private Uri data; private String dataPattern; private String targetPackage; public final String getAction() { return this.action; } public final KClass getActivityClass() { return this.activityClass; } public final Uri getData() { return this.data; } public final String getDataPattern() { return this.dataPattern; } public final String getTargetPackage() { return this.targetPackage; } public final void setAction(String str) { this.action = str; } public final void setActivityClass(KClass kClass) { this.activityClass = kClass; } public final void setData(Uri uri) { this.data = uri; } public final void setDataPattern(String str) { this.dataPattern = str; } public final void setTargetPackage(String str) { this.targetPackage = str; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @Deprecated(message = "Use routes to create your ActivityNavigatorDestinationBuilder instead", replaceWith = @ReplaceWith(expression = "ActivityNavigatorDestinationBuilder(navigator, route = id.toString())", imports = {})) public ActivityNavigatorDestinationBuilder(ActivityNavigator navigator, int i) { super(navigator, i); Intrinsics.checkNotNullParameter(navigator, "navigator"); this.context = navigator.getContext(); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public ActivityNavigatorDestinationBuilder(ActivityNavigator navigator, String route) { super(navigator, route); Intrinsics.checkNotNullParameter(navigator, "navigator"); Intrinsics.checkNotNullParameter(route, "route"); this.context = navigator.getContext(); } /* JADX WARN: Can't rename method to resolve collision */ @Override // androidx.navigation.NavDestinationBuilder public ActivityNavigator.Destination build() { ActivityNavigator.Destination destination = (ActivityNavigator.Destination) super.build(); destination.setTargetPackage(this.targetPackage); KClass kClass = this.activityClass; if (kClass != null) { destination.setComponentName(new ComponentName(this.context, (Class) JvmClassMappingKt.getJavaClass((KClass) kClass))); } destination.setAction(this.action); destination.setData(this.data); destination.setDataPattern(this.dataPattern); return destination; } }