Class SmartLocalDefsPool


  • public class SmartLocalDefsPool
    extends Object
    This class implements a pool for SmartLocalDefs instances. This is useful, as these analyses are expensive to compute. A SmartLocalDefs instance requires a UnitGraph (usually a ExceptionalUnitGraph), and creating these repeatedly, and applying the SmartLocalDefs analysis repeatedly costs time. Therefore in this class we pool these instances in cases in which the respective body is still the same.
    Author:
    Eric Bodden