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.
|
* @return Returns the pointerAnalysis.
|
||||||
*/
|
*/
|
||||||
// TODO make this public so clients can get at it?
|
public PointerAnalysis getPointerAnalysis() {
|
||||||
protected PointerAnalysis getPointerAnalysis() {
|
|
||||||
return pointerAnalysis;
|
return pointerAnalysis;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Returns the pointerFlowGraph.
|
* @return Returns the pointerFlowGraph.
|
||||||
*/
|
*/
|
||||||
protected PointerFlowGraph getPointerFlowGraph() {
|
public PointerFlowGraph getPointerFlowGraph() {
|
||||||
if (pointerFlowGraph == null) {
|
if (pointerFlowGraph == null) {
|
||||||
pointerFlowGraph = pointerFlowGraphFactory.make(pointerAnalysis, cg);
|
pointerFlowGraph = pointerFlowGraphFactory.make(pointerAnalysis, cg);
|
||||||
}
|
}
|
||||||
|
@ -309,7 +308,7 @@ public abstract class AbstractAnalysisEngine implements AnalysisEngine {
|
||||||
/**
|
/**
|
||||||
* @return Returns the heapGraph.
|
* @return Returns the heapGraph.
|
||||||
*/
|
*/
|
||||||
protected HeapGraph getHeapGraph() {
|
public HeapGraph getHeapGraph() {
|
||||||
if (heapGraph == null) {
|
if (heapGraph == null) {
|
||||||
heapGraph = new BasicHeapGraph(getPointerAnalysis(), cg);
|
heapGraph = new BasicHeapGraph(getPointerAnalysis(), cg);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue