Advice Keeping Names

Does anyone have advice for keeping names of the methods and attributes of the my one static class?

Method and attribute names can be preserved for any class by using a -keep rule like so:

-keepclassmembernames class_specification

For example:
-keepclassmembernames class com.example.MySensitiveClass {*;}

1 Like