Annotation Type KeepFieldType


  • @Documented
    @Retention(CLASS)
    @Target(FIELD)
    public @interface KeepFieldType
    Annotates the dagger generated field that requires keeping the field types.

    Annotating a field with this annotation, the field type's class name won't be discarded or obfuscated when compiles with proguard. Note:This will cause the containing class to be kept, and only works with proguard.