public final class EntryPoints
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
static <T> T | 
get(java.lang.Object component,
   java.lang.Class<T> entryPoint)
Returns the entry point interface given a component or component manager. 
 | 
@Nonnull
public static <T> T get(java.lang.Object component,
                                 java.lang.Class<T> entryPoint)
component - The Hilt-generated component instance. For convenience, also takes component
     manager instances as well.entryPoint - The interface marked with EntryPoint. The InstallIn annotation on this entry point should match the component argument
     above.