if (template != null && template instanceof SourceModule) {
try {
SymfonyTemplateResolver resolver = new SymfonyTemplateResolver();
SourceModule sourceModule = resolver.revolePath(parent, scriptProject);
TwigModuleDeclaration twig = (TwigModuleDeclaration) SourceParserUtil.parseSourceModule(sourceModule);
blocks = new LinkedList<String>();
if (twig != null) {
for (BlockStatement block : twig.getBlocks()) {