public class ReuseParameters extends Object
IInstantiationBehavior,
ParameterAccessor| Modifier and Type | Class and Description |
|---|---|
static class |
ReuseParameters.ReuseParameter |
| Constructor and Description |
|---|
ReuseParameters(IInstantiationBehavior instanceBehavior,
AndroidModel forModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
collectParameters(Iterable<? extends com.ibm.wala.ipa.callgraph.Entrypoint> entrypoints)
Searches the given entrypoints for those parameters.
|
boolean |
isReuse(com.ibm.wala.types.TypeName param,
com.ibm.wala.classLoader.IMethod inCallTo)
Is the parameter REUSE in a call from forModel to inCallTo.
|
com.ibm.wala.types.MethodReference |
toMethodReference(AndroidModelParameterManager pm) |
public ReuseParameters(IInstantiationBehavior instanceBehavior, AndroidModel forModel)
instanceBehavior - The Behavior to query if the parameter is REUSEforModel - The AndroidModel in which context the status is to be determinedpublic void collectParameters(Iterable<? extends com.ibm.wala.ipa.callgraph.Entrypoint> entrypoints)
entrypoints - The entrypoints to consider in the search.public boolean isReuse(com.ibm.wala.types.TypeName param,
com.ibm.wala.classLoader.IMethod inCallTo)
param - The parameter in question of being reuseinCallTo - The callee to query the REUSEness forpublic com.ibm.wala.types.MethodReference toMethodReference(AndroidModelParameterManager pm)
Copyright © 2019. All rights reserved.