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 Detail

      • getLiveLocalsBefore

        List<Local> 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<Local> 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.