Package com.android.dexdeps
Class DexData
- java.lang.Object
-
- com.android.dexdeps.DexData
-
-
Constructor Summary
Constructors Constructor Description DexData(RandomAccessFile raf)Constructs a new DexData for this file.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassRef[]getExternalReferences()Returns an array with all of the class references that don't correspond to classes in the DEX file.FieldRef[]getFieldRefs()MethodRef[]getMethodRefs()Returns the list of all method references.voidload()Loads the contents of the DEX file into our data structures.
-
-
-
Constructor Detail
-
DexData
public DexData(RandomAccessFile raf)
Constructs a new DexData for this file.
-
-
Method Detail
-
load
public void load() throws IOException
Loads the contents of the DEX file into our data structures.- Throws:
IOException- if we encounter a problem while readingDexDataException- if the DEX contents look bad
-
getExternalReferences
public ClassRef[] getExternalReferences()
Returns an array with all of the class references that don't correspond to classes in the DEX file. Each class reference has a list of the referenced fields and methods associated with that class.
-
getMethodRefs
public MethodRef[] getMethodRefs()
Returns the list of all method references.- Returns:
- method refs
-
getFieldRefs
public FieldRef[] getFieldRefs()
-
-