com.android.dx.dex.file
Class MemberIdsSection

java.lang.Object
  extended by com.android.dx.dex.file.Section
      extended by com.android.dx.dex.file.UniformItemSection
          extended by com.android.dx.dex.file.MemberIdsSection
Direct Known Subclasses:
FieldIdsSection, MethodIdsSection

public abstract class MemberIdsSection
extends UniformItemSection

Member (field or method) refs list section of a .dex file.


Constructor Summary
MemberIdsSection(String name, DexFile file)
          Constructs an instance.
 
Method Summary
protected  void orderItems()
          Alters or picks the order for items in this instance if desired, so that subsequent calls to Section.items() will yield a so-ordered collection.
 
Methods inherited from class com.android.dx.dex.file.UniformItemSection
get, getAbsoluteItemOffset, prepare0, writeSize, writeTo0
 
Methods inherited from class com.android.dx.dex.file.Section
align, getAbsoluteOffset, getAlignment, getFile, getFileOffset, getName, items, prepare, setFileOffset, throwIfNotPrepared, throwIfPrepared, validateAlignment, writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemberIdsSection

public MemberIdsSection(String name,
                        DexFile file)
Constructs an instance. The file offset is initially unknown.

Parameters:
name - null-ok; the name of this instance, for annotation purposes
file - non-null; file that this instance is part of
Method Detail

orderItems

protected void orderItems()
Alters or picks the order for items in this instance if desired, so that subsequent calls to Section.items() will yield a so-ordered collection. If the items in this instance are indexed, then this method should also assign indices.

Specified by:
orderItems in class UniformItemSection


Copyright © 2013. All Rights Reserved.