}
String className = variableName.get(0);
String varName = variableName.get(1);
Definition s = classList.findName(new LexNameToken(className, varName, null), NameScope.NAMESANDSTATE);
if (s == null)
{
throw new RemoteSimulationException("Unable to locate: \""
+ dotName(variableName)
+ "\" failed with: \""
+ varName
+ "\". Is this accessiable through the system while inilializing");
}
List<String> restOfQuantifier = variableName.subList(2, variableName.size());
if (restOfQuantifier.size() == 0)
{
return s;
} else
{
for (int i = 0; i < restOfQuantifier.size(); i++)
{
className = s.getType().getName();
s = classList.findName(new LexNameToken(className, restOfQuantifier.get(i), null), NameScope.NAMESANDSTATE);
// if(s== null)
// {
// throw new
// RemoteSimulationException("Unable to locate: \""+dotName(variableName)+"\" failed with: \""+varName+"\". Is this accessiable through the system while inilializing");