| Constructor and Description |
|---|
SimpleLocalDefs(UnitGraph g)
Computes the analysis given a UnitGraph computed from a method body.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Unit> |
getDefsOfAt(Local l,
Unit s)
Returns the definition sites for a Local at a certain
point (Unit) in a method.
|
boolean |
hasDefsAt(Local l,
Unit s) |
public SimpleLocalDefs(UnitGraph g)
g - a graph on which to compute the analysis.ExceptionalUnitGraphpublic java.util.List<Unit> getDefsOfAt(Local l, Unit s)
LocalDefsgetDefsOfAt in interface LocalDefsl - the Local in question.s - a unit that specifies the method context (location)
to query for the definitions of the Local.Copyright © 2012-2019 RoboVM AB. All Rights Reserved.