Beginning work of rename unique, now renames classes
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user