| Package | Description |
|---|---|
| com.android.dx.dex.code | |
| com.android.dx.dex.code.form | |
| com.android.dx.dex.file | |
| com.android.dx.util |
Utility classes for class file access/manipulation.
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
InsnFormat.write(AnnotatedOutput out,
short c0)
Writes one code unit to the given output destination.
|
protected static void |
InsnFormat.write(AnnotatedOutput out,
short c0,
int c1c2)
Writes three code units to the given output destination, where the
second and third are represented as single
int and emitted
in little-endian order. |
protected static void |
InsnFormat.write(AnnotatedOutput out,
short c0,
int c1c2,
short c3)
Writes four code units to the given output destination, where the
second and third are represented as single
int and emitted
in little-endian order. |
protected static void |
InsnFormat.write(AnnotatedOutput out,
short c0,
int c1c2,
short c3,
short c4)
Writes five code units to the given output destination, where the
second and third are represented as single
int and emitted
in little-endian order. |
protected static void |
InsnFormat.write(AnnotatedOutput out,
short c0,
long c1c2c3c4)
Writes five code units to the given output destination, where the
second through fifth are represented as single
long
and emitted in little-endian order. |
protected static void |
InsnFormat.write(AnnotatedOutput out,
short c0,
short c1)
Writes two code units to the given output destination.
|
protected static void |
InsnFormat.write(AnnotatedOutput out,
short c0,
short c1,
short c2)
Writes three code units to the given output destination.
|
protected static void |
InsnFormat.write(AnnotatedOutput out,
short c0,
short c1,
short c2,
short c3)
Writes four code units to the given output destination.
|
protected static void |
InsnFormat.write(AnnotatedOutput out,
short c0,
short c1,
short c2,
short c3,
short c4)
Writes five code units to the given output destination.
|
void |
OddSpacer.writeTo(AnnotatedOutput out)
Writes this instance to the given output.
|
void |
SwitchData.writeTo(AnnotatedOutput out)
Writes this instance to the given output.
|
void |
ArrayData.writeTo(AnnotatedOutput out)
Writes this instance to the given output.
|
void |
HighRegisterPrefix.writeTo(AnnotatedOutput out)
Writes this instance to the given output.
|
void |
ZeroSizeInsn.writeTo(AnnotatedOutput out)
Writes this instance to the given output.
|
void |
FixedSizeInsn.writeTo(AnnotatedOutput out)
Writes this instance to the given output.
|
abstract void |
DalvInsn.writeTo(AnnotatedOutput out)
Writes this instance to the given output.
|
void |
DalvInsnList.writeTo(AnnotatedOutput out)
Writes all the instructions in this instance to the given output
destination.
|
abstract void |
InsnFormat.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Form3rc.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
Form10x.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
Form31t.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
Form22b.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
Form12x.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
Form21t.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
Form11n.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
Form31i.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
Form4rcc.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
Form32x.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
Form21s.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
Form21h.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
Form45cc.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
Form22x.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
Form22c.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
Form35c.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
Form22t.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
Form30t.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
Form11x.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
Form20t.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
Form21c.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
SpecialFormat.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
Form10t.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
Form31c.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
Form23x.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
Form51l.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
void |
Form22s.writeTo(AnnotatedOutput out,
DalvInsn insn)
Writes the code units for the given instruction to the given
output destination.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
Section.align(AnnotatedOutput out)
Aligns the output of the given data to the alignment of this instance.
|
void |
AnnotationItem.annotateTo(AnnotatedOutput out,
java.lang.String prefix)
Write a (listing file) annotation for this instance to the given
output, that consumes no bytes of output.
|
void |
DebugInfoItem.annotateTo(DexFile file,
AnnotatedOutput out,
java.lang.String prefix)
Writes annotations for the elements of this list, as
zero-length.
|
byte[] |
DebugInfoEncoder.convertAndAnnotate(java.lang.String prefix,
java.io.PrintWriter debugPrint,
AnnotatedOutput out,
boolean consume)
Converts and produces annotations on a stream.
|
abstract int |
EncodedMember.encode(DexFile file,
AnnotatedOutput out,
int lastIndex,
int dumpSeq)
Encodes this instance to the given output.
|
int |
EncodedField.encode(DexFile file,
AnnotatedOutput out,
int lastIndex,
int dumpSeq)
Encodes this instance to the given output.
|
int |
EncodedMethod.encode(DexFile file,
AnnotatedOutput out,
int lastIndex,
int dumpSeq)
Encodes this instance to the given output.
|
void |
Statistics.writeAnnotation(AnnotatedOutput out)
Writes the statistics as an annotation.
|
void |
TypeIdsSection.writeHeaderPart(AnnotatedOutput out)
Writes the portion of the file header that refers to this instance.
|
void |
MixedItemSection.writeHeaderPart(AnnotatedOutput out)
Writes the portion of the file header that refers to this instance.
|
void |
ClassDefsSection.writeHeaderPart(AnnotatedOutput out)
Writes the portion of the file header that refers to this instance.
|
void |
StringIdsSection.writeHeaderPart(AnnotatedOutput out)
Writes the portion of the file header that refers to this instance.
|
void |
ProtoIdsSection.writeHeaderPart(AnnotatedOutput out)
Writes the portion of the file header that refers to this instance.
|
void |
FieldIdsSection.writeHeaderPart(AnnotatedOutput out)
Writes the portion of the file header that refers to this instance.
|
void |
MethodIdsSection.writeHeaderPart(AnnotatedOutput out)
Writes the portion of the file header that refers to this instance.
|
void |
MixedItemSection.writeIndexAnnotation(AnnotatedOutput out,
ItemType itemType,
java.lang.String intro)
Writes an index of contents of the items in this instance of the
given type.
|
void |
Section.writeTo(AnnotatedOutput out)
Writes this instance to the given raw data object.
|
void |
StringIdItem.writeTo(DexFile file,
AnnotatedOutput out)
Writes the representation of this instance to the given data section,
using the given
DexFile to look things up as needed. |
void |
HeaderItem.writeTo(DexFile file,
AnnotatedOutput out)
Writes the representation of this instance to the given data section,
using the given
DexFile to look things up as needed. |
void |
ParameterAnnotationStruct.writeTo(DexFile file,
AnnotatedOutput out) |
void |
FieldAnnotationStruct.writeTo(DexFile file,
AnnotatedOutput out) |
void |
MethodAnnotationStruct.writeTo(DexFile file,
AnnotatedOutput out) |
void |
CatchStructs.writeTo(DexFile file,
AnnotatedOutput out)
Writes this instance to the given stream.
|
void |
CallSiteIdItem.writeTo(DexFile file,
AnnotatedOutput out)
Writes the representation of this instance to the given data section,
using the given
DexFile to look things up as needed. |
void |
ProtoIdItem.writeTo(DexFile file,
AnnotatedOutput out)
Writes the representation of this instance to the given data section,
using the given
DexFile to look things up as needed. |
void |
TypeIdItem.writeTo(DexFile file,
AnnotatedOutput out)
Writes the representation of this instance to the given data section,
using the given
DexFile to look things up as needed. |
void |
OffsettedItem.writeTo(DexFile file,
AnnotatedOutput out)
Writes the representation of this instance to the given data section,
using the given
DexFile to look things up as needed. |
void |
MethodHandleItem.writeTo(DexFile file,
AnnotatedOutput out)
Writes the representation of this instance to the given data section,
using the given
DexFile to look things up as needed. |
void |
ClassDefItem.writeTo(DexFile file,
AnnotatedOutput out)
Writes the representation of this instance to the given data section,
using the given
DexFile to look things up as needed. |
void |
MemberIdItem.writeTo(DexFile file,
AnnotatedOutput out)
Writes the representation of this instance to the given data section,
using the given
DexFile to look things up as needed. |
abstract void |
Item.writeTo(DexFile file,
AnnotatedOutput out)
Writes the representation of this instance to the given data section,
using the given
DexFile to look things up as needed. |
protected void |
MixedItemSection.writeTo0(AnnotatedOutput out)
Writes this instance to the given raw data object.
|
protected void |
UniformItemSection.writeTo0(AnnotatedOutput out)
Writes this instance to the given raw data object.
|
protected abstract void |
Section.writeTo0(AnnotatedOutput out)
Writes this instance to the given raw data object.
|
protected void |
DebugInfoItem.writeTo0(DexFile file,
AnnotatedOutput out)
Performs the actual write of the contents of this instance to
the given data section.
|
protected void |
CallSiteItem.writeTo0(DexFile file,
AnnotatedOutput out)
Performs the actual write of the contents of this instance to
the given data section.
|
protected void |
MapItem.writeTo0(DexFile file,
AnnotatedOutput out)
Performs the actual write of the contents of this instance to
the given data section.
|
protected void |
AnnotationSetRefItem.writeTo0(DexFile file,
AnnotatedOutput out)
Performs the actual write of the contents of this instance to
the given data section.
|
void |
StringDataItem.writeTo0(DexFile file,
AnnotatedOutput out)
Performs the actual write of the contents of this instance to
the given data section.
|
protected void |
AnnotationsDirectoryItem.writeTo0(DexFile file,
AnnotatedOutput out)
Performs the actual write of the contents of this instance to
the given data section.
|
protected void |
TypeListItem.writeTo0(DexFile file,
AnnotatedOutput out)
Performs the actual write of the contents of this instance to
the given data section.
|
protected void |
AnnotationSetItem.writeTo0(DexFile file,
AnnotatedOutput out)
Performs the actual write of the contents of this instance to
the given data section.
|
protected void |
EncodedArrayItem.writeTo0(DexFile file,
AnnotatedOutput out)
Performs the actual write of the contents of this instance to
the given data section.
|
protected void |
UniformListItem.writeTo0(DexFile file,
AnnotatedOutput out)
Performs the actual write of the contents of this instance to
the given data section.
|
protected abstract void |
OffsettedItem.writeTo0(DexFile file,
AnnotatedOutput out)
Performs the actual write of the contents of this instance to
the given data section.
|
protected void |
AnnotationItem.writeTo0(DexFile file,
AnnotatedOutput out)
Performs the actual write of the contents of this instance to
the given data section.
|
void |
ClassDataItem.writeTo0(DexFile file,
AnnotatedOutput out)
Performs the actual write of the contents of this instance to
the given data section.
|
protected void |
CodeItem.writeTo0(DexFile file,
AnnotatedOutput out)
Performs the actual write of the contents of this instance to
the given data section.
|
| Constructor and Description |
|---|
ValueEncoder(DexFile file,
AnnotatedOutput out)
Construct an instance.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ByteArrayAnnotatedOutput
Implementation of
AnnotatedOutput which stores the written data
into a byte[]. |
Copyright © 2020. All Rights Reserved.