| Modifier and Type | Field and Description |
|---|---|
| private static final int | ALIGNMENT
the required alignment for instances of this class |
| private final DalvCode | code
|
| private static final boolean | |
| private byte[] | |
| private final boolean | |
| private final CstMethodRef |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addContents(DexFile
non-null; the file to populateImplements abstract org. DexFile with items from within this instance.
|
| public void | annotateTo(DexFile
non-null; the file to use for referencing other sectionsnon-null; where to annotate tonull-ok; prefix to attach to each line of outputWrites annotations for the elements of this list, as zero-length. |
| public void | debugPrint(PrintWriter
non-null; where to dumpnon-null; prefix to attach to each line of outputDoes a human-friendly dump of this instance. |
| private byte[] | Returns: non-null; the encoded arraynull-ok; file to refer to during encodingnull-ok; prefix to attach to each line of outputnull-ok; if specified, an alternate output for
annotationsnull-ok; if specified, where annotations should gowhether to claim to have consumed output for
consume)outPerforms debug info encoding. |
| private byte[] | Returns: non-null; the encoded arraynull-ok; file to refer to during encodingnull-ok; prefix to attach to each line of outputnull-ok; if specified, an alternate output for
annotationsnull-ok; if specified, where annotations should gowhether to claim to have consumed output for
consume)outHelper for |
| public ItemType | itemType()
Implements abstract org. |
| protected void | place0(Section
non-null; the section this instance has been added to>= 0; the offset from the start of the
section where this instance was placedOverrides org. |
| public String | toHuman()
Implements abstract org. |
| protected void | writeTo0(DexFile
non-null; the file to use for referencenon-null; where to write toImplements abstract org. |
| ALIGNMENT | back to summary |
|---|---|
| private static final int ALIGNMENT the required alignment for instances of this class | |
| code | back to summary |
|---|---|
| private final DalvCode code
| |
| ENABLE_ENCODER_SELF_CHECK | back to summary |
|---|---|
| private static final boolean ENABLE_ENCODER_SELF_CHECK | |
| encoded | back to summary |
|---|---|
| private byte[] encoded | |
| isStatic | back to summary |
|---|---|
| private final boolean isStatic | |
| ref | back to summary |
|---|---|
| private final CstMethodRef ref | |
| DebugInfoItem | back to summary |
|---|---|
| public DebugInfoItem(DalvCode code, boolean isStatic, CstMethodRef ref) | |
| addContents | back to summary |
|---|---|
| public void addContents(DexFile file) Implements abstract org. Doc from org. Populates a Note Subclasses must override this to do something appropriate. | |
| annotateTo | back to summary |
|---|---|
| public void annotateTo(DexFile file, AnnotatedOutput out, String prefix) Writes annotations for the elements of this list, as zero-length. This is meant to be used for dumping this instance directly after a code dump (with the real local list actually existing elsewhere in the output).
| |
| debugPrint | back to summary |
|---|---|
| public void debugPrint(PrintWriter out, String prefix) Does a human-friendly dump of this instance.
| |
| encode | back to summary |
|---|---|
| private byte[] encode(DexFile file, String prefix, PrintWriter debugPrint, AnnotatedOutput out, boolean consume) Performs debug info encoding.
| |
| encode0 | back to summary |
|---|---|
| private byte[] encode0(DexFile file, String prefix, PrintWriter debugPrint, AnnotatedOutput out, boolean consume) Helper for
| |
| itemType | back to summary |
|---|---|
| public ItemType itemType() Implements abstract org. Doc from org. Returns the item type for this instance. | |
| place0 | back to summary |
|---|---|
| protected void place0(Section addedTo, int offset) Overrides org. Doc from org. Does additional work required when placing an instance. The default implementation of this method is a no-op. If a particular class needs to do something special, then it should override this method. In particular, if this instance did not know its write size up-front, then this method is responsible for setting it. | |
| toHuman | back to summary |
|---|---|
| public String toHuman() Implements abstract org. Doc from org. Gets a short human-readable string representing this instance. | |
| writeTo0 | back to summary |
|---|---|
| protected void writeTo0(DexFile file, AnnotatedOutput out) Implements abstract org. Doc from org. Performs the actual write of the contents of this instance to
the given data section. This is called by
| |