You can say:
-keepclassmembers class sun.** {
public protected *;
}
But I am not excluding package/default access methods :(
void myMethod {
}
You can add another -keepclassmembers
like that:
-keepclassmembers class com.mycompany.MyClass {
!public !protected !private *;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With