public class DalvikStatsTool extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DalvikStatsTool.Stats
Stats about a java class.
|
Modifier and Type | Method and Description |
---|---|
static DalvikStatsTool.Stats |
getEstimate(InputStream rawClass)
Estimates the footprint that a given class will have in the LinearAlloc buffer of Android's
Dalvik VM.
|
static void |
main(String[] args)
CLI wrapper to run against every class in a set of JARs.
|
public static void main(String[] args) throws IOException
IOException
public static DalvikStatsTool.Stats getEstimate(InputStream rawClass) throws IOException
rawClass
- Raw bytes of the Java class to analyze.IOException