com.android.dx.merge
Class IndexMap
java.lang.Object
com.android.dx.merge.IndexMap
public final class IndexMap
- extends Object
Maps the index offsets from one dex file to those in another. For example, if
you have string #5 in the old dex file, its position in the new dex file is
strings[5].
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
stringIds
public final int[] stringIds
typeIds
public final short[] typeIds
protoIds
public final short[] protoIds
fieldIds
public final short[] fieldIds
methodIds
public final short[] methodIds
IndexMap
public IndexMap(DexBuffer target,
TableOfContents tableOfContents)
putTypeListOffset
public void putTypeListOffset(int oldOffset,
int newOffset)
putAnnotationOffset
public void putAnnotationOffset(int oldOffset,
int newOffset)
putAnnotationSetOffset
public void putAnnotationSetOffset(int oldOffset,
int newOffset)
putAnnotationDirectoryOffset
public void putAnnotationDirectoryOffset(int oldOffset,
int newOffset)
adjustString
public int adjustString(int stringIndex)
adjustType
public int adjustType(int typeIndex)
adjustTypeList
public TypeList adjustTypeList(TypeList typeList)
adjustProto
public int adjustProto(int protoIndex)
adjustField
public int adjustField(int fieldIndex)
adjustMethod
public int adjustMethod(int methodIndex)
adjustTypeListOffset
public int adjustTypeListOffset(int typeListOffset)
adjustAnnotation
public int adjustAnnotation(int annotationOffset)
adjustAnnotationSet
public int adjustAnnotationSet(int annotationSetOffset)
adjustAnnotationDirectory
public int adjustAnnotationDirectory(int annotationDirectoryOffset)
adjust
public MethodId adjust(MethodId methodId)
adjust
public FieldId adjust(FieldId fieldId)
adjust
public ProtoId adjust(ProtoId protoId)
adjust
public ClassDef adjust(ClassDef classDef)
adjust
public com.android.dx.merge.SortableType adjust(com.android.dx.merge.SortableType sortableType)
adjustEncodedValue
public EncodedValue adjustEncodedValue(EncodedValue encodedValue)
adjustEncodedArray
public EncodedValue adjustEncodedArray(EncodedValue encodedArray)
adjust
public Annotation adjust(Annotation annotation)
Copyright © 2012. All Rights Reserved.