Class AndroidContext
java.lang.Object
com.ibm.wala.dalvik.ipa.callgraph.propagation.cfa.AndroidContext
- All Implemented Interfaces:
Context
,ContextItem
Fetches an android/content/Context.
- Since:
- 2013-10-14
- Author:
- Tobias Blaschke <code@tobiasblaschke.de>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.ibm.wala.ipa.callgraph.ContextItem
ContextItem.Value<T>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ContextKey
Key into the Context that represents the AndroidContext. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Special equality: Object may be equal to an object without associated Intent.get
(ContextKey name) Looks up a ContextKey in the Context.int
hashCode()
toString()
-
Field Details
-
ANDROID_CONTEXT_KEY
Key into the Context that represents the AndroidContext.
-
-
Constructor Details
-
AndroidContext
-
-
Method Details
-
getContextType
-
get
Looks up a ContextKey in the Context.- Specified by:
get
in interfaceContext
- Returns:
- an Intent or parent-managed object.
- Throws:
IllegalArgumentException
- if the name is null.
-
equals
-
hashCode
-
toString
-