public class Intent extends Object implements com.ibm.wala.ipa.callgraph.ContextItem, Comparable<Intent>
AndroidEntryPointManager,
IntentContextSelector,
IntentContextInterpreter| Modifier and Type | Class and Description |
|---|---|
static class |
Intent.IntentType |
| Modifier and Type | Field and Description |
|---|---|
static com.ibm.wala.ipa.callgraph.ContextKey |
INTENT_KEY
Key into the Context that represents the Intent.
|
static com.ibm.wala.util.strings.Atom |
UNBOUND |
com.ibm.wala.util.strings.Atom |
uri |
| Constructor and Description |
|---|
Intent() |
Intent(com.ibm.wala.util.strings.Atom action) |
Intent(com.ibm.wala.util.strings.Atom action,
com.ibm.wala.util.strings.Atom uri) |
Intent(String action) |
Intent(com.ibm.wala.types.TypeName action) |
Intent(com.ibm.wala.types.TypeName action,
com.ibm.wala.util.strings.Atom uri) |
| Modifier and Type | Method and Description |
|---|---|
Intent |
clone() |
int |
compareTo(Intent other) |
boolean |
equalAction(Intent other)
Does not consider the associated URI.
|
boolean |
equals(Object o)
Intents are equal to Intents with other type.
|
com.ibm.wala.util.strings.Atom |
getAction() |
AndroidComponent |
getComponent()
Return the type of Component associated with this Intent.
|
Intent.IntentType |
getType() |
int |
hashCode()
CLASHES: Does not consider intent-type.
|
boolean |
isExplicit() |
boolean |
isExternal(boolean strict)
Has the target to be resolved by an external App.
|
boolean |
isInternal(boolean strict)
Is the Intents target internally resolvable.
|
boolean |
isStandard(boolean strict)
Is the Intent one of the System-Defined ones.
|
Intent |
resolve() |
void |
setAction(com.ibm.wala.util.strings.Atom action)
Set the target of the intent.
|
void |
setActionExplicit(com.ibm.wala.util.strings.Atom action)
Set the explicit target of the intent.
|
void |
setExplicit() |
void |
setImmutable() |
String |
toString() |
void |
unbind() |
public static final com.ibm.wala.ipa.callgraph.ContextKey INTENT_KEY
public static final com.ibm.wala.util.strings.Atom UNBOUND
public com.ibm.wala.util.strings.Atom uri
public Intent()
public Intent(String action)
public Intent(com.ibm.wala.util.strings.Atom action)
public Intent(com.ibm.wala.util.strings.Atom action,
com.ibm.wala.util.strings.Atom uri)
public Intent(com.ibm.wala.types.TypeName action,
com.ibm.wala.util.strings.Atom uri)
public Intent(com.ibm.wala.types.TypeName action)
public void setExplicit()
public boolean isExplicit()
public void setImmutable()
public void setActionExplicit(com.ibm.wala.util.strings.Atom action)
public void unbind()
public void setAction(com.ibm.wala.util.strings.Atom action)
public com.ibm.wala.util.strings.Atom getAction()
public Intent.IntentType getType()
public AndroidComponent getComponent()
public boolean isInternal(boolean strict)
strict - if false return unknown target as internalpublic boolean isExternal(boolean strict)
strict - if false return unknown target as externalpublic boolean isStandard(boolean strict)
strict - if false return unknown target as standardpublic int hashCode()
public boolean equalAction(Intent other)
public boolean equals(Object o)
public Intent resolve()
public int compareTo(Intent other)
compareTo in interface Comparable<Intent>Copyright © 2019. All rights reserved.