harpoon.Util.TypeInference
Class CachingArrayInfo

java.lang.Object
  extended by harpoon.Util.TypeInference.ArrayInfo
      extended by harpoon.Util.TypeInference.CachingArrayInfo
All Implemented Interfaces:
Serializable

public class CachingArrayInfo
extends ArrayInfo
implements Serializable

CachingArrayInfo

Version:
$Id: CachingArrayInfo.java,v 1.2 2002/02/25 21:09:37 cananian Exp $
Author:
Alexandru SALCIANU <salcianu@retezat.lcs.mit.edu>
See Also:
Serialized Form

Constructor Summary
CachingArrayInfo()
          Creates a CachingArrayInfo.
 
Method Summary
 void clear()
          Clears the cache.
 Set getInterestingAGETs(HMethod hm, HCode hcode)
          Returns the set of AGET instructions from hcode that access arrays of non primitive objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachingArrayInfo

public CachingArrayInfo()
Creates a CachingArrayInfo.

Method Detail

getInterestingAGETs

public Set getInterestingAGETs(HMethod hm,
                               HCode hcode)
Returns the set of AGET instructions from hcode that access arrays of non primitive objects.

Overrides:
getInterestingAGETs in class ArrayInfo

clear

public void clear()
Clears the cache.