package androidx.work; import kotlin.Metadata; import kotlin.jvm.internal.Intrinsics; /* compiled from: InputMerger.kt */ @Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u001a\u0012\u0010\u0002\u001a\u0004\u0018\u00010\u00032\u0006\u0010\u0004\u001a\u00020\u0001H\u0000\"\u000e\u0010\u0000\u001a\u00020\u0001X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\u0005"}, d2 = {"TAG", "", "fromClassName", "Landroidx/work/InputMerger;", "className", "work-runtime_release"}, k = 2, mv = {1, 8, 0}, xi = 48) /* loaded from: classes2.dex */ public final class InputMergerKt { private static final String TAG; static { String tagWithPrefix = Logger.tagWithPrefix("InputMerger"); Intrinsics.checkNotNullExpressionValue(tagWithPrefix, "tagWithPrefix(\"InputMerger\")"); TAG = tagWithPrefix; } public static final InputMerger fromClassName(String className) { Intrinsics.checkNotNullParameter(className, "className"); try { Object newInstance = Class.forName(className).getDeclaredConstructor(new Class[0]).newInstance(new Object[0]); Intrinsics.checkNotNull(newInstance, "null cannot be cast to non-null type androidx.work.InputMerger"); return (InputMerger) newInstance; } catch (Exception e) { Logger.get().error(TAG, "Trouble instantiating " + className, e); return null; } } }