List<ICompletionStrategy> result = new LinkedList<ICompletionStrategy>();
for (ICompletionContext context : contexts) {
if (context.getClass() == KeywordContext.class) {
result.add(new KeywordStrategy(context));
} else if (context.getClass() == FilterContext.class) {
result.add(new FilterStrategy(context));
} else if (context.getClass() == VariableFieldContext.class) {
// can't really do much in a plain twig context, this is the job
// for extensions