Class IntentContext
- java.lang.Object
-
- com.ibm.wala.dalvik.ipa.callgraph.propagation.cfa.IntentContext
-
-
Field Summary
Fields Modifier and Type Field Description static ContextKeyINTENT_KEYKey into the Context that represents the Intent.
-
Constructor Summary
Constructors Constructor Description IntentContext(Intent intent)IntentContext(Context parent, Intent intent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Special equality: Object may be equal to an object without associated Intent.ContextItemget(ContextKey name)Looks up a ContextKey in the Context.IntentgetIntent()inthashCode()StringtoString()
-
-
-
Field Detail
-
INTENT_KEY
public static final ContextKey INTENT_KEY
Key into the Context that represents the Intent.
-
-
Method Detail
-
get
public ContextItem get(ContextKey name)
Looks up a ContextKey in the Context.- Specified by:
getin interfaceContext- Returns:
- an Intent or parent-managed object.
- Throws:
IllegalArgumentException- if the name is null.
-
equals
public boolean equals(Object obj)
Special equality: Object may be equal to an object without associated Intent.
-
getIntent
public Intent getIntent()
-
-