Interface IDexExceptionItem
public interface IDexExceptionItem
This interface represents try-catch information for a bytecode area of a method. Retrieved via
IDexCodeItem.getExceptionItems()
.-
Method Summary
Modifier and TypeMethodDescriptionList<? extends IDexExceptionHandler>
Get the list of catch handlers.int
Get the code address of the beginning of the try block.default int
int
Get the code size of the try block
-
Method Details
-
getTryAddress
int getTryAddress()Get the code address of the beginning of the try block.- Returns:
- the address in bytes
-
getTrySize
int getTrySize()Get the code size of the try block- Returns:
- the size in bytes
-
getTryAddressEnd
default int getTryAddressEnd()- Returns:
-
getHandlers
List<? extends IDexExceptionHandler> getHandlers()Get the list of catch handlers.- Returns:
- the list of handlers, which may contain at most one non-typed handler
-