Initial import of ADIF API reverse-engineering toolkit
This commit is contained in:
27
apk_decompiled/sources/dagger/internal/ProviderOfLazy.java
Normal file
27
apk_decompiled/sources/dagger/internal/ProviderOfLazy.java
Normal file
@@ -0,0 +1,27 @@
|
||||
package dagger.internal;
|
||||
|
||||
import dagger.Lazy;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class ProviderOfLazy<T> implements Provider<Lazy<T>> {
|
||||
static final /* synthetic */ boolean $assertionsDisabled = false;
|
||||
private final Provider<T> provider;
|
||||
|
||||
private ProviderOfLazy(Provider<T> provider) {
|
||||
this.provider = provider;
|
||||
}
|
||||
|
||||
public static <T> Provider<Lazy<T>> create(Provider<T> provider) {
|
||||
return new ProviderOfLazy((Provider) Preconditions.checkNotNull(provider));
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public static <T> Provider<Lazy<T>> create(javax.inject.Provider<T> provider) {
|
||||
return create(Providers.asDaggerProvider(provider));
|
||||
}
|
||||
|
||||
@Override // javax.inject.Provider
|
||||
public Lazy<T> get() {
|
||||
return DoubleCheck.lazy(this.provider);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user