Class AndroidContext
java.lang.Object
com.ibm.wala.dalvik.ipa.callgraph.propagation.cfa.AndroidContext
- All Implemented Interfaces:
com.ibm.wala.ipa.callgraph.Context,com.ibm.wala.ipa.callgraph.ContextItem
Fetches an android/content/Context.
- Since:
- 2013-10-14
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.ibm.wala.ipa.callgraph.ContextItem
com.ibm.wala.ipa.callgraph.ContextItem.Value<T extends Object> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.ibm.wala.ipa.callgraph.ContextKeyKey into the Context that represents the AndroidContext. -
Constructor Summary
ConstructorsConstructorDescriptionAndroidContext(com.ibm.wala.ipa.callgraph.Context parent, AndroidTypes.AndroidContextType aCtxT) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.ibm.wala.ipa.callgraph.Context
isA
-
Field Details
-
ANDROID_CONTEXT_KEY
public static final com.ibm.wala.ipa.callgraph.ContextKey ANDROID_CONTEXT_KEYKey into the Context that represents the AndroidContext.
-
-
Constructor Details
-
AndroidContext
public AndroidContext(com.ibm.wala.ipa.callgraph.Context parent, AndroidTypes.AndroidContextType aCtxT)
-
-
Method Details
-
getContextType
-
get
public com.ibm.wala.ipa.callgraph.ContextItem get(com.ibm.wala.ipa.callgraph.ContextKey name) Looks up a ContextKey in the Context.- Specified by:
getin interfacecom.ibm.wala.ipa.callgraph.Context- Returns:
- an Intent or parent-managed object.
- Throws:
IllegalArgumentException- if the name is null.
-
equals
Special equality: Object may be equal to an object without associated Intent. -
hashCode
public int hashCode() -
toString
-