add a comment

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1000 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
sjfink 2007-04-24 15:20:21 +00:00
parent e1502f48a3
commit 4011ebbf9f
1 changed files with 8 additions and 0 deletions

View File

@ -21,6 +21,14 @@ import com.ibm.wala.util.debug.Assertions;
* Simple object that represents a static call site (ie., an invoke instruction
* in the bytecode)
*
* Note that the meaning of a call site reference depends on two things:
* the program counter, and the containing IR. Thus, it suffices to
* defines equals() and hashCode() from ProgramCounter, since this class
* does not maintain a pointer to the containing IR (or CGNode) anyway.
* If using a hashtable of CallSiteReference from different IRs,
* you probably want to use a wrapper which also holds a pointer to
* the governing CGNode.
*
* @author sfink
*/
public abstract class CallSiteReference extends ProgramCounter implements BytecodeConstants, ContextItem {