|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.android.dx.dex.file.CatchStructs
public final class CatchStructs
List of exception handlers (tuples of covered range, catch type,
handler address) for a particular piece of code. Instances of this
class correspond to a try_item[] and a
catch_handler_item[].
| Constructor Summary | |
|---|---|
CatchStructs(DalvCode code)
Constructs an instance. |
|
| Method Summary | |
|---|---|
void |
debugPrint(PrintWriter out,
String prefix)
Does a human-friendly dump of this instance. |
void |
encode(DexFile file)
Encodes the handler lists. |
int |
triesSize()
Gets the size of the tries list, in entries. |
int |
writeSize()
Gets the write size of this instance, in bytes. |
void |
writeTo(DexFile file,
AnnotatedOutput out)
Writes this instance to the given stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CatchStructs(DalvCode code)
code - non-null; code that contains the catches| Method Detail |
|---|
public int triesSize()
>= 0; the tries list size
public void debugPrint(PrintWriter out,
String prefix)
out - non-null; where to dumpprefix - non-null; prefix to attach to each line of outputpublic void encode(DexFile file)
file - non-null; file this instance is part ofpublic int writeSize()
>= 0; the write size
public void writeTo(DexFile file,
AnnotatedOutput out)
file - non-null; file this instance is part ofout - non-null; where to write to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||