LocalDefs.Factory
Constructor and Description |
---|
DexDefUseAnalysis(Body body) |
Modifier and Type | Method and Description |
---|---|
protected Set<Unit> |
collectDefinitionsWithAliases(Local l)
Collect definitions of l in body including the definitions of aliases of
l.
|
List<Unit> |
getDefsOf(Local l)
Returns the definition sites for a Local merged over all points
in a method.
|
List<Unit> |
getDefsOfAt(Local l,
Unit s)
Returns the definition sites for a Local at a certain
point (Unit) in a method.
|
Set<Unit> |
getUsesOf(Local l) |
public DexDefUseAnalysis(Body body)
protected Set<Unit> collectDefinitionsWithAliases(Local l)
l
- the local whose definitions are to collectpublic List<Unit> getDefsOfAt(Local l, Unit s)
LocalDefs
null
.getDefsOfAt
in interface LocalDefs
l
- the Local in question.s
- a unit that specifies the method context (location)
to query for the definitions of the Local.