List<TwigBlock> blocks = new TwigBlockParser(twigFilesByName).withSelfBlocks(true).walk(getElement().getContainingFile());
List<String> uniqueList = new ArrayList<String>();
for (TwigBlock block : blocks) {
if(!uniqueList.contains(block.getName())) {
uniqueList.add(block.getName());
lookupElements.add(new TwigBlockLookupElement(block));
}
}
return lookupElements;
}