give other clients access to this data
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1759 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
parent
486bd2be5c
commit
825264e9a7
|
@ -291,15 +291,14 @@ public abstract class AbstractAnalysisEngine implements AnalysisEngine {
|
|||
/**
|
||||
* @return Returns the pointerAnalysis.
|
||||
*/
|
||||
// TODO make this public so clients can get at it?
|
||||
protected PointerAnalysis getPointerAnalysis() {
|
||||
public PointerAnalysis getPointerAnalysis() {
|
||||
return pointerAnalysis;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Returns the pointerFlowGraph.
|
||||
*/
|
||||
protected PointerFlowGraph getPointerFlowGraph() {
|
||||
public PointerFlowGraph getPointerFlowGraph() {
|
||||
if (pointerFlowGraph == null) {
|
||||
pointerFlowGraph = pointerFlowGraphFactory.make(pointerAnalysis, cg);
|
||||
}
|
||||
|
@ -309,7 +308,7 @@ public abstract class AbstractAnalysisEngine implements AnalysisEngine {
|
|||
/**
|
||||
* @return Returns the heapGraph.
|
||||
*/
|
||||
protected HeapGraph getHeapGraph() {
|
||||
public HeapGraph getHeapGraph() {
|
||||
if (heapGraph == null) {
|
||||
heapGraph = new BasicHeapGraph(getPointerAnalysis(), cg);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue