Name Obfuscation can't exclude specific method/field
ette9844 opened this issue · 0 comments
ette9844 commented
Bug Report
Expected Behaviour
NameObfuscation excludes specific methods and fields.
Actual Behaviour
NameObfuscation just obfuscates all methods and fields.
How to reproduce the behaviour
"NameObfuscation": {
"Enabled": true,
"Excluded classes": "com.pacakge.Class",
"Excluded methods": "com.package.Class.method",
"Excluded fields": "com.package.Class.field"
}
Possible fix
The compileExcludePattern
returns some/package/SomeClass/someMethod
pattern, and str generated in isMethodExcluded
, isFieldExcluded
is some/package/SomeClass.somMethod
.
Please revert the changes or change compileExcludePattern
logic.
crowar also mentioned it in #62 (comment)