- Enclosing class:
Component
Specify types to generate DI classes for. To avoid package splitting, the imported DI classes
These types are typically in an external project / dependency or otherwise types that we
can't or don't want to explicitly annotate with @Singleton
/@Component
.
Typically, we put this annotation on a package/module-info.
Component.Import({CustomerService.class, ProductService.class, ...})
package org.example.processor;
-
Required Element Summary
Required Elements
-
Element Details
-
value
Specify types to generate DI classes for.
-