Class AndroidContext
- java.lang.Object
-
- com.ibm.wala.dalvik.ipa.callgraph.propagation.cfa.AndroidContext
-
-
Field Summary
Fields Modifier and Type Field Description static ContextKeyANDROID_CONTEXT_KEYKey into the Context that represents the AndroidContext.
-
Constructor Summary
Constructors Constructor Description AndroidContext(Context parent, AndroidTypes.AndroidContextType aCtxT)
-
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.AndroidTypes.AndroidContextTypegetContextType()inthashCode()StringtoString()
-
-
-
Field Detail
-
ANDROID_CONTEXT_KEY
public static final ContextKey ANDROID_CONTEXT_KEY
Key into the Context that represents the AndroidContext.
-
-
Constructor Detail
-
AndroidContext
public AndroidContext(Context parent, AndroidTypes.AndroidContextType aCtxT)
-
-
Method Detail
-
getContextType
public AndroidTypes.AndroidContextType getContextType()
-
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.
-
-