public final class CatchStructs
extends java.lang.Object
try_item[] and a
catch_handler_item[].| Constructor and Description |
|---|
CatchStructs(DalvCode code)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
debugPrint(java.io.PrintWriter out,
java.lang.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.
|
public CatchStructs(DalvCode code)
code - non-null; code that contains the catchespublic int triesSize()
>= 0; the tries list sizepublic void debugPrint(java.io.PrintWriter out,
java.lang.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 sizepublic void writeTo(DexFile file, AnnotatedOutput out)
file - non-null; file this instance is part ofout - non-null; where to write toCopyright © 2020. All Rights Reserved.