|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.android.dx.cf.code.ByteCatchList.Item
public static class ByteCatchList.Item
Item in an exception handler list.
| Constructor Summary | |
|---|---|
ByteCatchList.Item(int startPc,
int endPc,
int handlerPc,
CstType exceptionClass)
Constructs an instance. |
|
| Method Summary | |
|---|---|
boolean |
covers(int pc)
Returns whether the given address is in the range of this item. |
int |
getEndPc()
Gets the end pc (exclusive) of the handler's range. |
CstType |
getExceptionClass()
Gets the class of exception handled. |
int |
getHandlerPc()
Gets the pc of the exception handler. |
int |
getStartPc()
Gets the start pc (inclusive) of the handler's range. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ByteCatchList.Item(int startPc,
int endPc,
int handlerPc,
CstType exceptionClass)
startPc - >= 0; the start pc (inclusive) of the
handler's rangeendPc - >= startPc; the end pc (exclusive) of the
handler's rangehandlerPc - >= 0; the pc of the exception handlerexceptionClass - null-ok; the exception class or
null to catch all exceptions with this handler| Method Detail |
|---|
public int getStartPc()
>= 0; the start pc (inclusive) of the handler's range.public int getEndPc()
>= startPc; the end pc (exclusive) of the
handler's range.public int getHandlerPc()
>= 0; the pc of the exception handlerpublic CstType getExceptionClass()
non-null; the exception class; CstType.OBJECT
if this entry handles all possible exceptionspublic boolean covers(int pc)
pc - the address
true iff this item covers pc
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||