Package com.android.dx.dex.code
Class CatchTable.Entry
java.lang.Object
com.android.dx.dex.code.CatchTable.Entry
- All Implemented Interfaces:
Comparable<CatchTable.Entry>
- Enclosing class:
CatchTable
Entry in a catch list.
-
Constructor Summary
ConstructorDescriptionEntry
(int start, int end, CatchHandlerList handlers) Constructs an instance. -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(CatchTable.Entry other) boolean
int
getEnd()
Gets the end address (exclusive).Gets the handlers.int
getStart()
Gets the start address.int
hashCode()
-
Constructor Details
-
Entry
Constructs an instance.- Parameters:
start
->= 0;
start addressend
-> start;
end address (exclusive)handlers
-non-null;
list of catch handlers
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<CatchTable.Entry>
-
getStart
public int getStart()Gets the start address.- Returns:
>= 0;
the start address
-
getEnd
public int getEnd()Gets the end address (exclusive).- Returns:
> start;
the end address (exclusive)
-
getHandlers
Gets the handlers.- Returns:
non-null;
the handlers
-