|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.Analysis.PA2.InterProcAnalysisResult
public abstract class InterProcAnalysisResult
InterProcAnalysisResult
models the analysis result
that (1) is computed for the end of a method m
; and
(2) that is required in the inter-procedural analysis in order to
treat calls to m
. The information from an object of
this class is a method specification, from the point of view of the
pointer analysis.
Nested Class Summary | |
---|---|
static class |
InterProcAnalysisResult.Chained
|
Constructor Summary | |
---|---|
InterProcAnalysisResult()
|
Method Summary | |
---|---|
Set<PANode> |
eomAllEsc()
|
abstract Set<PANode> |
eomAllGblEsc()
All nodes that escape *globally* at the end of the method. |
abstract Set<PANode> |
eomDirGblEsc()
Nodes that escape *globally* at the end of the method and are relevant for the inter-proc analysis (we try to avoid including here nodes that are unreachable from the caller). |
abstract PAEdgeSet |
eomI()
Inside edges at the end of the method. |
abstract PAEdgeSet |
eomO()
Outside edges at the end of the method. |
Set<jpaul.DataStructs.Pair<PANode,HField>> |
eomWrites()
Abstract fields written by the method and its transitive callees. |
abstract Set<PANode> |
ex()
Nodes thrown from the method as exceptions. |
Iterable<PANode> |
getAllNodes()
|
void |
invalidateCaches()
Certain methods of this object may use caching
for internal performances. |
abstract Set<PANode> |
ret()
Nodes returned from the method. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InterProcAnalysisResult()
Method Detail |
---|
public abstract PAEdgeSet eomI()
public void invalidateCaches()
this
object may use caching
for internal performances. However, every time one of the
components (e.g., the set of inside edges) changes, the
programmer needs to invoke this method.
public abstract PAEdgeSet eomO()
public abstract Set<PANode> eomDirGblEsc()
public abstract Set<PANode> eomAllGblEsc()
eomDirGblEsc
is); still, this
class seemed the most appropriate location for this method.
public Set<PANode> eomAllEsc()
public abstract Set<PANode> ret()
public abstract Set<PANode> ex()
public String toString()
toString
in class Object
public Iterable<PANode> getAllNodes()
public Set<jpaul.DataStructs.Pair<PANode,HField>> eomWrites()
Flags.RECORD_WRITES
is
turned on.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |