androidx.annotation.keep


Annotations

UnconditionallyKeep

Indicates code which is accessed by references from outside of the application code directly, such as via JNI, reflection, or instantiation from platform framework code.

UsesReflectionToAccessField

The annotated code uses reflection to indirectly access a field of the specified class/interface, or its subclasses / interface implementers.

UsesReflectionToAccessMethod

The annotated code uses reflection to indirectly access a method of the specified class/interface, or its subclasses / interface implementers.

UsesReflectionToConstruct

The annotated code uses reflection to indirectly invoke a constructor of a class/interface, or its subclasses / interface implementers.

Classes

Unspecified

Used to define an unspecified class value in the Keep annotations.