| Package | Description |
|---|---|
| com.android.dx.dex.file |
| Modifier and Type | Method and Description |
|---|---|
DexFile |
Section.getFile()
Gets the file that this instance is part of.
|
| Modifier and Type | Method and Description |
|---|---|
void |
UniformListItem.addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
void |
TypeListItem.addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
void |
TypeIdItem.addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
void |
StringIdItem.addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
void |
StringDataItem.addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
void |
ProtoIdItem.addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
void |
ParameterAnnotationStruct.addContents(DexFile file) |
void |
MethodIdItem.addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
void |
MethodAnnotationStruct.addContents(DexFile file) |
void |
MemberIdItem.addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
void |
MapItem.addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
abstract void |
Item.addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
void |
IdItem.addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
void |
HeaderItem.addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
void |
FieldIdItem.addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
void |
FieldAnnotationStruct.addContents(DexFile file) |
void |
EncodedMethod.addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
abstract void |
EncodedMember.addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
void |
EncodedField.addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
void |
EncodedArrayItem.addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
void |
DebugInfoItem.addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
void |
CodeItem.addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
void |
ClassDefItem.addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
void |
ClassDataItem.addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
void |
AnnotationSetRefItem.addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
void |
AnnotationSetItem.addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
void |
AnnotationsDirectoryItem.addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
void |
AnnotationItem.addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
static void |
ValueEncoder.addContents(DexFile file,
Annotation annotation)
Helper for
addContents() methods, which adds
contents for a particular Annotation, calling itself
recursively should it encounter a nested annotation. |
static void |
ValueEncoder.addContents(DexFile file,
Constant cst)
Helper for
addContents() methods, which adds
contents for a particular constant, calling itself recursively
should it encounter a CstArray and calling ValueEncoder.addContents(DexFile,Annotation) recursively should it
encounter a CstAnnotation. |
void |
DebugInfoItem.annotateTo(DexFile file,
AnnotatedOutput out,
String prefix)
Writes annotations for the elements of this list, as
zero-length.
|
void |
CatchStructs.encode(DexFile file)
Encodes the handler lists.
|
int |
EncodedMethod.encode(DexFile file,
AnnotatedOutput out,
int lastIndex,
int dumpSeq)
Encodes this instance to the given output.
|
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.
|
protected int |
MethodIdItem.getTypoidIdx(DexFile file)
Returns the index of the type-like thing associated with
this item, in order that it may be written out.
|
protected abstract int |
MemberIdItem.getTypoidIdx(DexFile file)
Returns the index of the type-like thing associated with
this item, in order that it may be written out.
|
protected int |
FieldIdItem.getTypoidIdx(DexFile file)
Returns the index of the type-like thing associated with
this item, in order that it may be written out.
|
static void |
DebugInfoDecoder.validateEncode(byte[] info,
DexFile file,
CstMethodRef ref,
DalvCode code,
boolean isStatic)
Validates an encoded debug info stream against data used to encode it,
throwing an exception if they do not match.
|
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 |
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 |
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 |
ParameterAnnotationStruct.writeTo(DexFile file,
AnnotatedOutput out) |
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 |
MethodAnnotationStruct.writeTo(DexFile file,
AnnotatedOutput out) |
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. |
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 |
FieldAnnotationStruct.writeTo(DexFile file,
AnnotatedOutput out) |
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 |
CatchStructs.writeTo(DexFile file,
AnnotatedOutput out)
Writes this instance to the given stream.
|
protected void |
UniformListItem.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.
|
void |
StringDataItem.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 |
MapItem.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 |
DebugInfoItem.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.
|
void |
ClassDataItem.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.
|
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 |
AnnotationsDirectoryItem.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.
|
| Constructor and Description |
|---|
ClassDefsSection(DexFile file)
Constructs an instance.
|
DebugInfoEncoder(PositionList positions,
LocalList locals,
DexFile file,
int codeSize,
int regSize,
boolean isStatic,
CstMethodRef ref)
Creates an instance.
|
FieldIdsSection(DexFile file)
Constructs an instance.
|
HeaderSection(DexFile file)
Constructs an instance.
|
MemberIdsSection(String name,
DexFile file)
Constructs an instance.
|
MethodIdsSection(DexFile file)
Constructs an instance.
|
MixedItemSection(String name,
DexFile file,
int alignment,
com.android.dx.dex.file.MixedItemSection.SortType sort)
Constructs an instance.
|
ProtoIdsSection(DexFile file)
Constructs an instance.
|
Section(String name,
DexFile file,
int alignment)
Constructs an instance.
|
StringIdsSection(DexFile file)
Constructs an instance.
|
TypeIdsSection(DexFile file)
Constructs an instance.
|
UniformItemSection(String name,
DexFile file,
int alignment)
Constructs an instance.
|
ValueEncoder(DexFile file,
AnnotatedOutput out)
Construct an instance.
|
Copyright © 2014. All Rights Reserved.