public GlobalVariableReferencesEvaluator(IGoal goal) {
super(goal);
}
public IGoal[] init() {
GlobalVariableReferencesGoal typedGoal = (GlobalVariableReferencesGoal) goal;
IContext context = goal.getContext();
ISourceModuleContext sourceModuleContext = null;
IScriptProject scriptProject = null;
if (context instanceof ISourceModuleContext) {
sourceModuleContext = (ISourceModuleContext) context;
scriptProject = sourceModuleContext.getSourceModule()
.getScriptProject();
}
String variableName = typedGoal.getVariableName();
boolean exploreOtherFiles = true;
// Find all global variables from mixin