public class IntentContext
extends java.lang.Object
implements com.ibm.wala.ipa.callgraph.Context
This class takes a parent so we don't loose information by overwriting.
| Modifier and Type | Field and Description |
|---|---|
static com.ibm.wala.ipa.callgraph.ContextKey |
INTENT_KEY
Key into the Context that represents the Intent.
|
| Constructor and Description |
|---|
IntentContext(com.ibm.wala.ipa.callgraph.Context parent,
Intent intent) |
IntentContext(Intent intent) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Special equality: Object may be equal to an object without associated Intent.
|
com.ibm.wala.ipa.callgraph.ContextItem |
get(com.ibm.wala.ipa.callgraph.ContextKey name)
Looks up a ContextKey in the Context.
|
Intent |
getIntent() |
int |
hashCode() |
java.lang.String |
toString() |
public static final com.ibm.wala.ipa.callgraph.ContextKey INTENT_KEY
public IntentContext(Intent intent)
public IntentContext(com.ibm.wala.ipa.callgraph.Context parent,
Intent intent)
public com.ibm.wala.ipa.callgraph.ContextItem get(com.ibm.wala.ipa.callgraph.ContextKey name)
get in interface com.ibm.wala.ipa.callgraph.Contextjava.lang.IllegalArgumentException - if the name is null.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic Intent getIntent()