Annotation Interface UsedByReflection


@Target({METHOD,FIELD,TYPE,CONSTRUCTOR}) public @interface UsedByReflection
Annotation used for marking methods and fields that are called by reflection. Useful for keeping components that would otherwise be removed by Proguard. Use the value parameter to mention a file that calls this method.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details