List<AbstractCompletionStrategy> result = new LinkedList<AbstractCompletionStrategy>();
for (ICompletionContext context : contexts) {
if (context.getClass() == TemplateVariableCompletionContext.class) {
result.add(new TemplateVariableCompletionStrategy(context));
} else if (context.getClass() == TemplateVariableFieldCompletionContext.class) {
result.add(new TemplateVariableFieldCompletionStrategy(context));