com.ibm.wala.analysis.typeInference
Class TypeVariable
java.lang.Object
com.ibm.wala.util.graph.impl.NodeWithNumber
com.ibm.wala.fixedpoint.impl.AbstractVariable<TypeVariable>
com.ibm.wala.analysis.typeInference.TypeVariable
- All Implemented Interfaces:
- IVariable<TypeVariable>, INodeWithNumber
public class TypeVariable
- extends AbstractVariable<TypeVariable>
A type variable in the dataflow system.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
TypeVariable
public TypeVariable(TypeAbstraction type,
int hashCode)
copyState
public void copyState(TypeVariable other)
throws java.lang.IllegalArgumentException
- Description copied from interface:
IVariable
- Set this variable to have the same state as another one
- Throws:
java.lang.IllegalArgumentException
getType
public TypeAbstraction getType()
setType
public void setType(TypeAbstraction type)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
hashCode
public int hashCode()
- Specified by:
hashCode in class AbstractVariable<TypeVariable>