fix: don't rename constructors and class init methods in deobfuscator (#415)

This commit is contained in:
Skylot
2018-12-22 13:03:06 +03:00
parent a841d0ebe7
commit 0f27eba1b1
@@ -409,6 +409,9 @@ public class Deobfuscator {
@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;