You can say:
-keepclassmembers class sun.** {
public protected *;
}
But I am not excluding package/default access methods :(
void myMethod {
}
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 *;
}