com.ibm.wala.analysis.reflection
Class JavaTypeContext

java.lang.Object
  extended by 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.


Constructor Summary
JavaTypeContext(TypeAbstraction type)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 ContextItem get(ContextKey name)
           
 TypeAbstraction getType()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaTypeContext

public JavaTypeContext(TypeAbstraction type)
Method Detail

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()