public final class ExceptionHandlerMap extends Object
Modifier and Type | Field and Description |
---|---|
private int[] |
endPCs
bytecode offset at which i-th try block ends (exclusive)
0-indexed from start of method's bytecodes[]
|
private TypeReference[] |
exceptionTypes
exception type for which i-th handler is to be invoked
- something like "java/lang/IOException".
|
private int[] |
handlerPCs
bytecode offset at which exception handler for i-th try block begins
0-indexed from start of method's bytecodes[]
|
private int[] |
startPCs
bytecode offset at which i-th try block begins
0-indexed from start of method's bytecodes[]
|
Modifier | Constructor and Description |
---|---|
private |
ExceptionHandlerMap(int[] startPCs,
int[] endPCs,
int[] handlerPCs,
TypeReference[] exceptionTypes) |
Modifier and Type | Method and Description |
---|---|
(package private) ExceptionHandlerMap |
deepCopy() |
int[] |
getEndPC() |
TypeReference |
getExceptionType(int i) |
TypeReference[] |
getExceptionTypes() |
int[] |
getHandlerPC() |
int[] |
getStartPC() |
(package private) static ExceptionHandlerMap |
readExceptionHandlerMap(DataInputStream input,
int[] constantPool) |
void |
setEndPC(int[] newPCs) |
void |
setHandlerPC(int[] newPCs) |
void |
setStartPC(int[] newPCs) |
private int[] startPCs
private int[] endPCs
private int[] handlerPCs
private final TypeReference[] exceptionTypes
private ExceptionHandlerMap(int[] startPCs, int[] endPCs, int[] handlerPCs, TypeReference[] exceptionTypes)
public int[] getStartPC()
public int[] getEndPC()
public int[] getHandlerPC()
public TypeReference[] getExceptionTypes()
public TypeReference getExceptionType(int i)
public void setStartPC(int[] newPCs)
public void setEndPC(int[] newPCs)
public void setHandlerPC(int[] newPCs)
static ExceptionHandlerMap readExceptionHandlerMap(DataInputStream input, int[] constantPool) throws IOException
IOException
ExceptionHandlerMap deepCopy()