Skip to content

Commit

Permalink
fix: don't rename constructors and class init methods in deobfuscator (
Browse files Browse the repository at this point in the history
  • Loading branch information
skylot committed Dec 22, 2018
1 parent a841d0e commit 0f27eba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jadx-core/src/main/java/jadx/core/deobf/Deobfuscator.java
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ private String getFieldAlias(FieldNode field) {
@Nullable
private String getMethodAlias(MethodNode mth) {
MethodInfo methodInfo = mth.getMethodInfo();
if (methodInfo.isClassInit() || methodInfo.isConstructor()) {
return null;
}
String alias = mthMap.get(methodInfo);
if (alias != null) {
return alias;
Expand Down

0 comments on commit 0f27eba

Please sign in to comment.