soot.toolkits.scalar
Interface LiveLocals

All Known Subinterfaces:
CombinedAnalysis
All Known Implementing Classes:
CombinedDUAnalysis, SimpleLiveLocals

public interface LiveLocals

Provides an interface for querying for the list of Locals that are live before an after a given unit in a method.


Method Summary
 List getLiveLocalsAfter(Unit s)
          Returns the list of Locals that are live after the specified Unit.
 List getLiveLocalsBefore(Unit s)
          Returns the list of Locals that are live before the specified Unit.
 

Method Detail

getLiveLocalsBefore

List getLiveLocalsBefore(Unit s)
Returns the list of Locals that are live before the specified Unit.

Parameters:
s - the Unit that defines this query.
Returns:
a list of Locals that are live before the specified unit in the method.

getLiveLocalsAfter

List getLiveLocalsAfter(Unit s)
Returns the list of Locals that are live after the specified Unit.

Parameters:
s - the Unit that defines this query.
Returns:
a list of Locals that are live after the specified unit in the method.