NetMirror.apk
Download file
package com.facebook.react.bridge;
import javax.inject.Provider;
import v1.InterfaceC0756a;
/* JADX INFO: loaded from: classes.dex */
public class ModuleSpec {
private static final String TAG = "ModuleSpec";
private final String mName;
private final Provider mProvider;
private ModuleSpec(Provider provider) {
this.mProvider = provider;
this.mName = null;
}
public static ModuleSpec nativeModuleSpec(Class<? extends NativeModule> cls, Provider provider) {
InterfaceC0756a interfaceC0756a = (InterfaceC0756a) cls.getAnnotation(InterfaceC0756a.class);
if (interfaceC0756a != null) {
return new ModuleSpec(provider, interfaceC0756a.name());
}
Y.a.I(TAG, "Could not find @ReactModule annotation on " + cls.getName() + ". So creating the module eagerly to get the name. Consider adding an annotation to make this Lazy");
return new ModuleSpec(provider, ((NativeModule) provider.get()).getName());
}
public static ModuleSpec viewManagerSpec(Provider provider) {
return new ModuleSpec(provider);
}
public String getName() {
return this.mName;
}
public Provider getProvider() {
return this.mProvider;
}
private ModuleSpec(Provider provider, String str) {
this.mProvider = provider;
this.mName = str;
}
public static ModuleSpec nativeModuleSpec(String str, Provider provider) {
return new ModuleSpec(provider, str);
}
}
⚠️ This content was hidden by an advertisement filtering extension in your browser. Please disable it and reload the page to access the decompiled content.
We only display one small text ad to keep this service free. Here's what it looks like:
Read the Docs for Business: You write the docs. We do the rest.
Try it today!Ad by EthicalAds
Download file