-
- All Implemented Interfaces:
-
java.lang.annotation.Annotation
@Target(value = {ElementType.TYPE})@Retention(value = CLASS) public @interface KeepGettersAndSetters
Add this annotation to a class, to keep all "void set*(***)" and get* methods.
This is useful for classes that are controlled by animator-like classes that control various properties with reflection.
NOTE: This is not needed for Views because their getters and setters are automatically kept by the default Android SDK ProGuard config.