mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-13 01:17:17 +01:00
48 lines
1.8 KiB
Java
48 lines
1.8 KiB
Java
package dagger.model;
|
|
|
|
import com.google.common.base.CaseFormat;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes9.dex */
|
|
public enum RequestKind {
|
|
INSTANCE,
|
|
PROVIDER,
|
|
LAZY,
|
|
PROVIDER_OF_LAZY,
|
|
MEMBERS_INJECTION,
|
|
PRODUCER,
|
|
PRODUCED,
|
|
FUTURE;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* renamed from: dagger.model.RequestKind$1, reason: invalid class name */
|
|
public static /* synthetic */ class AnonymousClass1 {
|
|
static final /* synthetic */ int[] $SwitchMap$dagger$model$RequestKind;
|
|
|
|
static {
|
|
int[] iArr = new int[RequestKind.values().length];
|
|
$SwitchMap$dagger$model$RequestKind = iArr;
|
|
try {
|
|
iArr[RequestKind.INSTANCE.ordinal()] = 1;
|
|
} catch (NoSuchFieldError unused) {
|
|
}
|
|
try {
|
|
$SwitchMap$dagger$model$RequestKind[RequestKind.PROVIDER_OF_LAZY.ordinal()] = 2;
|
|
} catch (NoSuchFieldError unused2) {
|
|
}
|
|
try {
|
|
$SwitchMap$dagger$model$RequestKind[RequestKind.MEMBERS_INJECTION.ordinal()] = 3;
|
|
} catch (NoSuchFieldError unused3) {
|
|
}
|
|
try {
|
|
$SwitchMap$dagger$model$RequestKind[RequestKind.FUTURE.ordinal()] = 4;
|
|
} catch (NoSuchFieldError unused4) {
|
|
}
|
|
}
|
|
}
|
|
|
|
public String format(Key key) {
|
|
int i = AnonymousClass1.$SwitchMap$dagger$model$RequestKind[ordinal()];
|
|
return i != 1 ? i != 2 ? i != 3 ? i != 4 ? String.format("%s<%s>", CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.UPPER_CAMEL, name()), key) : String.format("ListenableFuture<%s>", key) : String.format("injectMembers(%s)", key) : String.format("Provider<Lazy<%s>>", key) : key.toString();
|
|
}
|
|
}
|