'The rule matches no class members for enum in proguard

I have enum decalare as

enum class PARTY {
    START, STOP
}

And in proguard I have added

-keep public enum com.interface.PartyChart$PARTY{
<fields>;
public static **[] values();
public static ** valueOf(java.lang.String);
}

I get this message in proguard file

The rule matches no class members


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source