throw new ValidationException("FirstCall in statement ("+caller+") is null!");
}
callSoFar.append(caller);
callSoFar.append("."+loadAttribute(firstCall, REF_METHODNAME));
//Check whether caller is a model
IModel inputModel = template.getInputModel(caller);
PlaceHolderReturnContainer firstCallPhrc = null;
if(inputModel!=null){
//load model
if(!inputModel.getModelResource().isLoaded()){
try {
inputModel.getModelResource().load(Collections.EMPTY_MAP);
} catch (IOException e) {
throw new ValidationException("Cannot load InputModel",e);
}
}
//first call needs to interpret model-resource