Beginning work of rename unique, now renames classes

This commit is contained in:
Adam
2015-07-09 20:56:44 -04:00
parent c92387e089
commit 5781f08152
30 changed files with 321 additions and 75 deletions

View File

@@ -1,5 +1,6 @@
package info.sigterm.deob.attributes.code;
import info.sigterm.deob.ClassFile;
import info.sigterm.deob.ConstantPool;
import info.sigterm.deob.pool.Class;
@@ -93,4 +94,10 @@ public class Exception
{
return catchType;
}
public void renameClass(ClassFile cf, String name)
{
if (catchType != null && cf.getName().equals(catchType.getName()))
catchType = new Class(name);
}
}