com.ibm.wala.ipa.callgraph
Class ContextUtil

java.lang.Object
  extended by com.ibm.wala.ipa.callgraph.ContextUtil

public class ContextUtil
extends java.lang.Object

misc utilities for dealing with contexts


Constructor Summary
ContextUtil()
           
 
Method Summary
static IClass getConcreteClassFromContext(Context c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextUtil

public ContextUtil()
Method Detail

getConcreteClassFromContext

public static IClass getConcreteClassFromContext(Context c)
Parameters:
c - a context
Returns:
If this is an object-sensitive context that identifies a unique class for the receiver object, then return the unique class. Else, return null.
Throws:
java.lang.IllegalArgumentException - if c is null