com.ibm.wala.ipa.callgraph.propagation
Class StringConstantKey

java.lang.Object
  extended by com.ibm.wala.ipa.callgraph.propagation.StringConstantKey
All Implemented Interfaces:
ContextItem, InstanceKey

public final class StringConstantKey
extends java.lang.Object
implements InstanceKey

An instance key which represents a unique set for each String constant


Constructor Summary
StringConstantKey(java.lang.String string, IClass stringClass)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 IClass getConcreteType()
          For now, we assert that each InstanceKey represents a set of classes which are all of the same concrete type (modulo the fact that all arrays of references are considered concrete type []Object;)
 java.lang.String getString()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringConstantKey

public StringConstantKey(java.lang.String string,
                         IClass stringClass)
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getConcreteType

public IClass getConcreteType()
Description copied from interface: InstanceKey
For now, we assert that each InstanceKey represents a set of classes which are all of the same concrete type (modulo the fact that all arrays of references are considered concrete type []Object;)

Specified by:
getConcreteType in interface InstanceKey

getString

public java.lang.String getString()