Package com.android.dx.ssa
Class LocalVariableExtractor
java.lang.Object
com.android.dx.ssa.LocalVariableExtractor
Code to figure out which local variables are active at which points in
a method. Stolen and retrofitted from
com.android.dx.rop.code.LocalVariableExtractor
TODO remove this. Allow Rop-form LocalVariableInfo to be passed in,
converted, and adapted through edge-splitting.
-
Method Summary
Modifier and TypeMethodDescriptionstatic LocalVariableInfo
Extracts out all the local variable information from the given method.
-
Method Details
-
extract
Extracts out all the local variable information from the given method.- Parameters:
method
-non-null;
the method to extract from- Returns:
non-null;
the extracted information
-