@Target(value=ANNOTATION_TYPE)
@Retention(value=CLASS)
public @interface AliasOf
@Scope
@AliasOf(ActivityScope.class)
public @interface MyScope{}
| Modifier and Type | Required Element and Description |
|---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
value
Returns the existing Hilt scope that the annotated scope is aliasing.
|