Added a setter for entrypoints.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1563 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
loginov 2007-08-01 21:47:27 +00:00
parent b6dc13e5be
commit c6e67b25df
1 changed files with 5 additions and 2 deletions

View File

@ -39,7 +39,7 @@ public class AnalysisOptions {
/** /**
* An object that identifies the entrypoints for the call graph * An object that identifies the entrypoints for the call graph
*/ */
private final Iterable<Entrypoint> entrypoints; private Iterable<Entrypoint> entrypoints;
/** /**
* An object which represents the user specification for reflection * An object which represents the user specification for reflection
@ -143,7 +143,6 @@ public class AnalysisOptions {
public AnalysisOptions() { public AnalysisOptions() {
this.entrypoints = null;
} }
public AnalysisOptions(AnalysisScope scope, Iterable<Entrypoint> e) { public AnalysisOptions(AnalysisScope scope, Iterable<Entrypoint> e) {
@ -163,6 +162,10 @@ public class AnalysisOptions {
return entrypoints; return entrypoints;
} }
public void setEntrypoints(Iterable<Entrypoint> entrypoints) {
this.entrypoints = entrypoints;
}
/** /**
* @return An object which represents the user specification for reflection * @return An object which represents the user specification for reflection
*/ */