square / dagger

A fast dependency injector for Android and Java.
https://square.github.io/dagger/
Apache License 2.0
7.3k stars 3.07k forks source link

duplicate Nullable #572

Closed byrxs5216 closed 3 years ago

byrxs5216 commented 3 years ago

@Generated("dagger.hilt.android.processor.internal.androidentrypoint.ViewGenerator") public abstract class Hilt_SeltDefHiltViewLib1 extends AppCompatTextView implements GeneratedComponentManager { private ViewComponentManager componentManager;

Hilt_SeltDefHiltViewLib1(@NonNull Context arg0) { super(arg0); inject(); }

Hilt_SeltDefHiltViewLib1(@NonNull Context arg0, @Nullable @Nullable AttributeSet arg1) { super(arg0, arg1); inject(); }

Hilt_SeltDefHiltViewLib1(@NonNull Context arg0, @Nullable @Nullable AttributeSet arg1, int arg2) { super(arg0, arg1, arg2); inject(); }

@Override public final Object generatedComponent() { return componentManager().generatedComponent(); }

protected ViewComponentManager createComponentManager() { return new ViewComponentManager(this, false / hasFragmentBindings /); }

protected final ViewComponentManager componentManager() { if (componentManager == null) { componentManager = createComponentManager(); } return componentManager; }

protected void inject() { ((SeltDefHiltViewLib1_GeneratedInjector) generatedComponent()).injectSeltDefHiltViewLib1(UnsafeCasts.unsafeCast(this)); } }

JakeWharton commented 3 years ago

Wrong Dagger project. Try https://github.com/google/dagger.