KeepGettersAndSetters

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class 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.