FullyQualifiedReference fqcn = (FullyQualifiedReference) instance.getClassName();
NamespaceReference nsRef = createFromFQCN(fqcn);
if (nsRef != null) {
TemplateVariable variable = new TemplateVariable(currentMethod, varName.getValue(),
varName.sourceStart(), varName.sourceEnd(), nsRef.getNamespace(), nsRef.getClassName());
templateVariables.put(variable, viewPath);
}
}
} else {