Class AndroidContext
- java.lang.Object
-
- com.ibm.wala.dalvik.ipa.callgraph.propagation.cfa.AndroidContext
-
-
Field Summary
Fields Modifier and Type Field Description static ContextKey
ANDROID_CONTEXT_KEY
Key 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 boolean
equals(Object obj)
Special equality: Object may be equal to an object without associated Intent.ContextItem
get(ContextKey name)
Looks up a ContextKey in the Context.AndroidTypes.AndroidContextType
getContextType()
int
hashCode()
String
toString()
-
-
-
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:
get
in 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.
-
-