Commit 0f27eba1 authored by Skylot's avatar Skylot

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

parent a841d0eb
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment