com.ibm.wala.analysis.reflection
Class JavaTypeContext
java.lang.Object
com.ibm.wala.analysis.reflection.JavaTypeContext
- All Implemented Interfaces:
- Context
public class JavaTypeContext
- extends java.lang.Object
- implements Context
Implement a Context which corresponds to a given type abstraction. Thus, this maps the name "TYPE" to a JavaTypeAbstraction.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
JavaTypeContext
public JavaTypeContext(TypeAbstraction type)
get
public ContextItem get(ContextKey name)
- Specified by:
get in interface Context
- Returns:
- the objects corresponding to a given name
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
getType
public TypeAbstraction getType()