Class LocalVariableExtractor

java.lang.Object
com.android.dx.ssa.LocalVariableExtractor

public class LocalVariableExtractor extends Object
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 Details

    • extract

      public static LocalVariableInfo extract(SsaMethod method)
      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