Class writing, call graph, eclipse project
This commit is contained in:
@@ -3,6 +3,7 @@ package info.sigterm.deob.attributes.code;
|
||||
import info.sigterm.deob.ConstantPool;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.DataOutputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
public class Exception
|
||||
@@ -26,6 +27,14 @@ public class Exception
|
||||
catchType = is.readUnsignedShort();
|
||||
}
|
||||
|
||||
public void write(DataOutputStream out) throws IOException
|
||||
{
|
||||
out.writeShort(startPc);
|
||||
out.writeShort(endPc);
|
||||
out.writeShort(handlerPc);
|
||||
out.writeShort(catchType);
|
||||
}
|
||||
|
||||
public Exceptions getExceptions()
|
||||
{
|
||||
return exceptions;
|
||||
|
||||
Reference in New Issue
Block a user